akka.persistence.journal.leveldb
Class Key$
java.lang.Object
akka.persistence.journal.leveldb.Key$
- All Implemented Interfaces:
- java.io.Serializable
public class Key$
- extends java.lang.Object
- implements scala.Serializable
- See Also:
- Serialized Form
Field Summary |
static Key$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Constructor Summary |
Key$()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE$
public static final Key$ MODULE$
- Static reference to the singleton instance of this Scala object.
Key$
public Key$()
keyToBytes
public byte[] keyToBytes(Key key)
keyFromBytes
public Key keyFromBytes(byte[] bytes)
counterKey
public Key counterKey(int persistenceId)
counterToBytes
public byte[] counterToBytes(long ctr)
counterFromBytes
public long counterFromBytes(byte[] bytes)
id
public int id(Key key)
idKey
public Key idKey(int id)
isIdKey
public boolean isIdKey(Key key)
deletionKey
public Key deletionKey(int persistenceId,
long sequenceNr)
isDeletionKey
public boolean isDeletionKey(Key key)