Package me.hsgamer.topper.agent.snapshot
Class SnapshotHolderAgent<K,V>
java.lang.Object
me.hsgamer.topper.agent.snapshot.SnapshotAgent<K,V>
me.hsgamer.topper.agent.snapshot.SnapshotHolderAgent<K,V>
- All Implemented Interfaces:
Runnable,Agent,DataEntryAgent<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidvoidvoidvoidsetDataFilter(Predicate<DataEntry<K, V>> dataFilter) Methods inherited from class me.hsgamer.topper.agent.snapshot.SnapshotAgent
getSnapshot, getSnapshotByIndex, getSnapshotIndex, getUrgentSnapshot, run, setComparator, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.topper.agent.core.Agent
beforeStop, startMethods inherited from interface me.hsgamer.topper.agent.core.DataEntryAgent
onUnregister
-
Constructor Details
-
SnapshotHolderAgent
-
-
Method Details
-
setDataFilter
-
getDataStream
- Specified by:
getDataStreamin classSnapshotAgent<K,V>
-
needUpdate
protected boolean needUpdate()- Specified by:
needUpdatein classSnapshotAgent<K,V>
-
onCreate
- Specified by:
onCreatein interfaceDataEntryAgent<K,V>
-
onUpdate
- Specified by:
onUpdatein interfaceDataEntryAgent<K,V>
-
onRemove
- Specified by:
onRemovein interfaceDataEntryAgent<K,V>
-