Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,193 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
.../internal/processors/cache/integration/IgniteCacheAtomicLocalNoLoadPreviousValueTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheAtomicityMode.*; | ||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
import static org.gridgain.grid.cache.GridCacheMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicLocalNoLoadPreviousValueTest extends IgniteCacheNoLoadPreviousValueAbstractTest { | ||
/** {@inheritDoc} */ | ||
@Override protected int gridCount() { | ||
return 1; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheMode cacheMode() { | ||
return LOCAL; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicityMode atomicityMode() { | ||
return ATOMIC; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return PARTITIONED_ONLY; | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...gnite/internal/processors/cache/integration/IgniteCacheAtomicLocalNoWriteThroughTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheAtomicityMode.*; | ||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
import static org.gridgain.grid.cache.GridCacheMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicLocalNoWriteThroughTest extends IgniteCacheNoWriteThroughAbstractTest { | ||
/** {@inheritDoc} */ | ||
@Override protected int gridCount() { | ||
return 1; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheMode cacheMode() { | ||
return LOCAL; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicityMode atomicityMode() { | ||
return ATOMIC; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return PARTITIONED_ONLY; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...nal/processors/cache/integration/IgniteCacheAtomicNearEnabledNoLoadPreviousValueTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicNearEnabledNoLoadPreviousValueTest extends IgniteCacheAtomicNoLoadPreviousValueTest { | ||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return NEAR_PARTITIONED; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...internal/processors/cache/integration/IgniteCacheAtomicNearEnabledNoWriteThroughTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicNearEnabledNoWriteThroughTest extends IgniteCacheAtomicNoWriteThroughTest { | ||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return NEAR_PARTITIONED; | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...gnite/internal/processors/cache/integration/IgniteCacheAtomicNoLoadPreviousValueTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheAtomicWriteOrderMode.*; | ||
import static org.gridgain.grid.cache.GridCacheAtomicityMode.*; | ||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
import static org.gridgain.grid.cache.GridCacheMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicNoLoadPreviousValueTest extends IgniteCacheNoLoadPreviousValueAbstractTest { | ||
/** {@inheritDoc} */ | ||
@Override protected int gridCount() { | ||
return 3; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheMode cacheMode() { | ||
return PARTITIONED; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicityMode atomicityMode() { | ||
return ATOMIC; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return PARTITIONED_ONLY; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicWriteOrderMode atomicWriteOrderMode() { | ||
return PRIMARY; | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...che/ignite/internal/processors/cache/integration/IgniteCacheAtomicNoWriteThroughTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.ignite.internal.processors.cache.integration; | ||
|
||
import org.gridgain.grid.cache.*; | ||
|
||
import static org.gridgain.grid.cache.GridCacheAtomicWriteOrderMode.*; | ||
import static org.gridgain.grid.cache.GridCacheAtomicityMode.*; | ||
import static org.gridgain.grid.cache.GridCacheDistributionMode.*; | ||
import static org.gridgain.grid.cache.GridCacheMode.*; | ||
|
||
/** | ||
* | ||
*/ | ||
public class IgniteCacheAtomicNoWriteThroughTest extends IgniteCacheNoWriteThroughAbstractTest { | ||
/** {@inheritDoc} */ | ||
@Override protected int gridCount() { | ||
return 3; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheMode cacheMode() { | ||
return PARTITIONED; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicityMode atomicityMode() { | ||
return ATOMIC; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheDistributionMode distributionMode() { | ||
return PARTITIONED_ONLY; | ||
} | ||
|
||
/** {@inheritDoc} */ | ||
@Override protected GridCacheAtomicWriteOrderMode atomicWriteOrderMode() { | ||
return PRIMARY; | ||
} | ||
} |
Oops, something went wrong.