类 MemoryKvStorage

  • 所有已实现的接口:
    KvStorage

    public class MemoryKvStorage
    extends java.lang.Object
    implements KvStorage
    Realization of KV storage based on memory.
    作者:
    liaochuntao
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.util.List<byte[]> allKeys()
      Get all keys.
      void batchDelete​(java.util.List<byte[]> keys)
      batch delete with keys.
      java.util.Map<byte[],​byte[]> batchGet​(java.util.List<byte[]> keys)
      batch get by List byte[].
      void batchPut​(java.util.List<byte[]> keys, java.util.List<byte[]> values)
      batch write.
      void delete​(byte[] key)
      delete with key.
      void doSnapshot​(java.lang.String backupPath)
      do snapshot.
      byte[] get​(byte[] key)
      get data by key.
      void put​(byte[] key, byte[] value)
      write data.
      void shutdown()
      shutdown.
      void snapshotLoad​(java.lang.String path)
      load snapshot.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait