Class MemcachedBlobCodec

java.lang.Object
io.datarouter.client.memcached.codec.MemcachedBlobCodec

public class MemcachedBlobCodec
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MemcachedBlobCodec​(java.lang.String nodeName, int nodeVersion)  
  • Method Summary

    Modifier and Type Method Description
    io.datarouter.util.tuple.Pair<io.datarouter.storage.file.PathbeanKey,​byte[]> decodeResult​(io.datarouter.util.tuple.Pair<java.lang.String,​java.lang.Object> result)  
    java.lang.String encodeKey​(io.datarouter.storage.file.PathbeanKey pk)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MemcachedBlobCodec

      public MemcachedBlobCodec​(java.lang.String nodeName, int nodeVersion)
  • Method Details

    • encodeKey

      public java.lang.String encodeKey​(io.datarouter.storage.file.PathbeanKey pk)
    • decodeResult

      public io.datarouter.util.tuple.Pair<io.datarouter.storage.file.PathbeanKey,​byte[]> decodeResult​(io.datarouter.util.tuple.Pair<java.lang.String,​java.lang.Object> result)