mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Make Replicated ChronicleMap Public
Add bootstrapTimeStamp method as public method
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user