Class Key$

  • All Implemented Interfaces:
    java.io.Serializable

    public class Key$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Key$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Key$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.pekko.persistence.journal.leveldb.Key apply​(int persistenceId, long sequenceNr, int mappingId)  
      long counterFromBytes​(byte[] bytes)  
      org.apache.pekko.persistence.journal.leveldb.Key counterKey​(int persistenceId)  
      byte[] counterToBytes​(long ctr)  
      org.apache.pekko.persistence.journal.leveldb.Key deletionKey​(int persistenceId, long sequenceNr)  
      boolean isDeletionKey​(org.apache.pekko.persistence.journal.leveldb.Key key)  
      boolean isMappingKey​(org.apache.pekko.persistence.journal.leveldb.Key key)  
      org.apache.pekko.persistence.journal.leveldb.Key keyFromBytes​(byte[] bytes)  
      byte[] keyToBytes​(org.apache.pekko.persistence.journal.leveldb.Key key)  
      org.apache.pekko.persistence.journal.leveldb.Key mappingKey​(int id)  
      scala.Option<scala.Tuple3<java.lang.Object,​java.lang.Object,​java.lang.Object>> unapply​(org.apache.pekko.persistence.journal.leveldb.Key x$0)  
      • 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​(org.apache.pekko.persistence.journal.leveldb.Key key)
      • keyFromBytes

        public org.apache.pekko.persistence.journal.leveldb.Key keyFromBytes​(byte[] bytes)
      • counterKey

        public org.apache.pekko.persistence.journal.leveldb.Key counterKey​(int persistenceId)
      • counterToBytes

        public byte[] counterToBytes​(long ctr)
      • counterFromBytes

        public long counterFromBytes​(byte[] bytes)
      • mappingKey

        public org.apache.pekko.persistence.journal.leveldb.Key mappingKey​(int id)
      • isMappingKey

        public boolean isMappingKey​(org.apache.pekko.persistence.journal.leveldb.Key key)
      • deletionKey

        public org.apache.pekko.persistence.journal.leveldb.Key deletionKey​(int persistenceId,
                                                                            long sequenceNr)
      • isDeletionKey

        public boolean isDeletionKey​(org.apache.pekko.persistence.journal.leveldb.Key key)
      • apply

        public org.apache.pekko.persistence.journal.leveldb.Key apply​(int persistenceId,
                                                                      long sequenceNr,
                                                                      int mappingId)
      • unapply

        public scala.Option<scala.Tuple3<java.lang.Object,​java.lang.Object,​java.lang.Object>> unapply​(org.apache.pekko.persistence.journal.leveldb.Key x$0)