Make Replicated ChronicleMap Public

Add bootstrapTimeStamp method as public method
This commit is contained in:
tolgakavukcuevam
2016-01-24 01:05:31 +02:00
parent bc2aaf0854
commit 45bdddc5fe
@@ -91,7 +91,7 @@ import static net.openhft.lang.io.NativeBytes.wrap;
* @param <K> the entries key type
* @param <V> the entries value type
*/
final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
public class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
V, VI, MVI extends MetaBytesInterop<V, ? super VI>>
extends VanillaChronicleMap<K, KI, MKI, V, VI, MVI>
implements Replica, EntryExternalizable, EntryResolver<K, V>, EngineReplicationLangBytes {
@@ -189,6 +189,10 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
return identifierUpdatedBytes.readLong(remoteIdentifier * 8L);
}
public long bootStrapTime(){
return this.acquireModificationIterator(this.identifier()).bootStrapTimeStamp();
}
@Override
void onHeaderCreated() {
long offset = super.getHeaderSize();