@Test public void testGetValueWithTimestampAfter() throws Exception { String expectedValue = "Some value"; Value value = new Value(null, 100L, expectedValue); assertEquals(expectedValue, value.getValue(101L)); }
@Override public Object getValue() { return value; }
Value extends Expirable { @Override public Object getValue() { return value; } }
Value extends Expirable { @Override public Object getValue() { return value; } Value();  Value(final Object version, final long timestamp, final Object value); }
Value extends Expirable { @Override public Object getValue() { return value; } Value();  Value(final Object version, final long timestamp, final Object value); @Override @SuppressWarnings("unchecked") boolean isReplaceableBy(final long txTimestamp, final Object newVersion,
                                   final Comparator versionComparator); long getTimestamp(); @Override Object getValue(); @Override Object getValue(final long txTimestamp); @Override boolean matches(final ExpiryMarker lock); @Override ExpiryMarker markForExpiration(final long timeout, final String nextMarkerId); @Override void readData(final ObjectDataInput in); @Override void writeData(final ObjectDataOutput out); @Override int getFactoryId(); @Override int getClassId(); }
Value extends Expirable { @Override public Object getValue() { return value; } Value();  Value(final Object version, final long timestamp, final Object value); @Override @SuppressWarnings("unchecked") boolean isReplaceableBy(final long txTimestamp, final Object newVersion,
                                   final Comparator versionComparator); long getTimestamp(); @Override Object getValue(); @Override Object getValue(final long txTimestamp); @Override boolean matches(final ExpiryMarker lock); @Override ExpiryMarker markForExpiration(final long timeout, final String nextMarkerId); @Override void readData(final ObjectDataInput in); @Override void writeData(final ObjectDataOutput out); @Override int getFactoryId(); @Override int getClassId();  }