@Override public void testLocalReadWriteForConditionalParamBasedReplace() { Collection<TestEvent<String>> events = createUpdateCreate(); assertOrderedEvents(localL2, super::testLocalReadWriteForConditionalParamBasedReplace, events); }
@Override public Object[] factory() { return new Object[] { new FunctionalCachestoreTest().persistence(true).passivation(false), new FunctionalCachestoreTest().persistence(true).passivation(true) }; }
@Override public void accept(V v, WriteEntryView<K, V> wo) { wo.set(v, new MetaLifespan(100000)); }
public void testLocalWriteConstantAndReadGetsValue() { doWriteConstantAndReadGetsValue(supplyIntKey(), ro(fmapL1), wo(fmapL2)); }
public void testDistWriteValueAndReadValueAndMetadataOnOwner() { doWriteValueAndReadValueAndMetadata(supplyKeyForCache(1, DIST), ro(fmapD1), wo(fmapD2)); }
public void testReplReturnViewFromReadOnlyEvalOnNonOwner() { doReturnViewFromReadOnlyEval(supplyKeyForCache(0, REPL), ro(fmapR1), wo(fmapR2)); }
public void testLocalLambdaReadWriteListeners() throws Exception { doLambdaReadWriteListeners(supplyIntKey(), wo(fmapL1), rw(fmapL2), true); }
public void testReplReadWriteGetsEmptyOnNonOwner() { doReadWriteGetsEmpty(supplyKeyForCache(0, REPL), rw(fmapR1)); }
public void testLocalLambdaWriteListeners() throws Exception { doLambdaWriteListeners(supplyIntKey(), wo(fmapL1), true); }
public void testLocalContainsValue() { doContainsValue(supplyIntKey(), "one", local1, local2); }
public void testLocalSize() { doSize(supplyIntKey(), local1, local2); }
public void testLocalConditionalRemove() { doConditionalRemove(supplyIntKey(), local1, local2); }
public void testLocalEmptyGetThenPut() { doEmptyGetThenPut(supplyIntKey(), local1, local2); }
public void testLocalPutIfAbsent() { doPutIfAbsent(supplyIntKey(), local1, local2); }
public void testLocalGetAndReplace() { doGetAndReplace(supplyIntKey(), local1, local2); }
public void testLocalInvoke() { doInvoke(supplyIntKey(), local1, local2); }
@Override public void testDistReadWriteForConditionalParamBasedReplaceOnOwner() { assertOrderedEvents(distL2, super::testDistReadWriteForConditionalParamBasedReplaceOnOwner, createUpdateCreate()); }