Package me.hsgamer.topper.agent.update
Class UpdateAgent<K,V>
- java.lang.Object
-
- me.hsgamer.topper.agent.update.UpdateAgent<K,V>
-
-
Constructor Summary
Constructors Constructor Description UpdateAgent(Logger logger, DataHolder<K,V> holder, Function<K,CompletableFuture<Optional<V>>> updateFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCreate(DataEntry<K,V> entry)
void
onRemove(DataEntry<K,V> entry)
void
run()
void
setMaxEntryPerCall(int maxEntryPerCall)
-
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, onUnregister, onUpdate, start, stop
-
-