public final class Key
extends java.lang.Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Key(int persistenceId,
long sequenceNr,
int mappingId) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
static long |
counterFromBytes(byte[] bytes) |
static Key |
counterKey(int persistenceId) |
static byte[] |
counterToBytes(long ctr) |
static Key |
deletionKey(int persistenceId,
long sequenceNr) |
abstract static boolean |
equals(java.lang.Object that) |
static boolean |
isDeletionKey(Key key) |
static boolean |
isMappingKey(Key key) |
static Key |
keyFromBytes(byte[] bytes) |
static byte[] |
keyToBytes(Key key) |
int |
mappingId() |
static Key |
mappingKey(int id) |
int |
persistenceId() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
long |
sequenceNr() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static byte[] keyToBytes(Key key)
public static Key keyFromBytes(byte[] bytes)
public static Key counterKey(int persistenceId)
public static byte[] counterToBytes(long ctr)
public static long counterFromBytes(byte[] bytes)
public static Key mappingKey(int id)
public static boolean isMappingKey(Key key)
public static Key deletionKey(int persistenceId, long sequenceNr)
public static boolean isDeletionKey(Key key)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public int persistenceId()
public long sequenceNr()
public int mappingId()