class
LeveldbEventLog extends Actor
Instance Constructors
-
new
LeveldbEventLog(id: String, prefix: String)
Type Members
-
type
Receive = PartialFunction[Any, Unit]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
aroundPostRestart(reason: Throwable): Unit
-
def
aroundPostStop(): Unit
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
-
def
aroundPreStart(): Unit
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
implicit
val
context: ActorContext
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
event(a: Array[Byte]): DurableEvent
-
def
eventBytes(e: DurableEvent): Array[Byte]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
id: String
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
postRestart(reason: Throwable): Unit
-
def
postStop(): Unit
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
-
def
preStart(): Unit
-
def
publishUpdateNotification(events: Seq[DurableEvent] = Seq()): Unit
-
def
read(from: Long, max: Int, filter: ReplicationFilter): ReadResult
-
final
def
receive: PartialFunction[Any, Unit]
-
def
replay(from: Long, classifier: Int)(f: (DurableEvent) ⇒ Unit): Unit
-
implicit final
val
self: ActorRef
-
final
def
sender(): ActorRef
-
def
supervisorStrategy: SupervisorStrategy
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
unhandled(message: Any): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withBatch[R](body: (WriteBatch) ⇒ R): R
-
def
withIterator[R](body: (DBIterator) ⇒ R): R
-
def
write(events: Seq[DurableEvent], batch: WriteBatch): Unit
-
def
write(events: Seq[DurableEvent]): Unit
Inherited from Actor
Inherited from AnyRef
Inherited from Any
An event log actor with LevelDB as storage backend. The directory containing the LevelDB files for this event log is named after the constructor parameters using the template "
prefix
-id
" and stored in a root directory defined by thelog.leveldb.dir
configuration.Please note:
prefix
andid
are currently not escaped when creating the directory name.