Class PortabilityBasedHalfStorageEngine.CachedEncode<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.ByteBuffer buffer  
      private T object  
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedEncode​(T object, java.nio.ByteBuffer buffer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) T get()  
      (package private) java.nio.ByteBuffer getEncoded()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • object

        private final T object
      • buffer

        private final java.nio.ByteBuffer buffer
    • Constructor Detail

      • CachedEncode

        public CachedEncode​(T object,
                            java.nio.ByteBuffer buffer)
    • Method Detail

      • get

        final T get()
      • getEncoded

        final java.nio.ByteBuffer getEncoded()