Class FilebasedRemoveLog

java.lang.Object
org.nustaq.kontraktor.Actors
org.nustaq.kontraktor.Actor<FilebasedRemoveLog>
org.nustaq.reallive.server.FilebasedRemoveLog
All Implemented Interfaces:
Serializable, Executor, org.nustaq.kontraktor.monitoring.Monitorable, RemoveLog

public class FilebasedRemoveLog extends org.nustaq.kontraktor.Actor<FilebasedRemoveLog> implements RemoveLog
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.nustaq.kontraktor.Actor

    org.nustaq.kontraktor.Actor.ActorReport

    Nested classes/interfaces inherited from interface org.nustaq.reallive.server.RemoveLog

    RemoveLog.RemoveLogEntry
  • Field Summary

    Fields inherited from class org.nustaq.kontraktor.Actor

    __cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallback

    Fields inherited from class org.nustaq.kontraktor.Actors

    CONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZE, version
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(long timeStamp, String recordKey)
     
    void
     
    org.nustaq.kontraktor.IPromise
    init(String dir, String tableName)
     
    void
    prune(long maxAge)
     
    void
    query(long from, long to, org.nustaq.kontraktor.Callback<RemoveLog.RemoveLogEntry> en)
     

    Methods inherited from class org.nustaq.kontraktor.Actor

    __addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, debounce, delayed, execInThreadPool, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getUntypedRef, hasStopped, inside, inThread, isCallbackQPressured, isEmpty, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, router$clientPing, self, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGC

    Methods inherited from class org.nustaq.kontraktor.Actors

    AddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, kYield, kYield, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yieldCallbacks

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FilebasedRemoveLog

      public FilebasedRemoveLog()
  • Method Details

    • init

      public org.nustaq.kontraktor.IPromise init(String dir, String tableName)
    • add

      public void add(long timeStamp, String recordKey)
      Specified by:
      add in interface RemoveLog
    • prune

      public void prune(long maxAge)
      Specified by:
      prune in interface RemoveLog
    • query

      public void query(long from, long to, org.nustaq.kontraktor.Callback<RemoveLog.RemoveLogEntry> en)
      Specified by:
      query in interface RemoveLog
    • flush

      public void flush()