akka.persistence.journal.leveldb
Class Key$

java.lang.Object
  extended by 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$()
           
 
Method Summary
 long counterFromBytes(byte[] bytes)
           
 Key counterKey(int persistenceId)
           
 byte[] counterToBytes(long ctr)
           
 Key deletionKey(int persistenceId, long sequenceNr)
           
 int id(Key key)
           
 Key idKey(int id)
           
 boolean isDeletionKey(Key key)
           
 boolean isIdKey(Key key)
           
 Key keyFromBytes(byte[] bytes)
           
 byte[] keyToBytes(Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final Key$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

Key$

public Key$()
Method Detail

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)