Package me.hsgamer.topper.agent.snapshot
Class SnapshotAgent<K,V>
java.lang.Object
me.hsgamer.topper.agent.snapshot.SnapshotAgent<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static <K,
V> SnapshotAgent <K, V> create
(DataHolder<K, V> holder) getSnapshotByIndex
(int index) int
getSnapshotIndex
(K key) void
run()
void
setComparator
(Comparator<V> comparator) void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.topper.agent.core.Agent
beforeStop, start
-
Constructor Details
-
SnapshotAgent
public SnapshotAgent()
-
-
Method Details