Class AbstractKeyOperation<K,​T>

    • Field Detail

      • key

        protected final K key
      • keyBytes

        protected final byte[] keyBytes
    • Constructor Detail

      • AbstractKeyOperation

        protected AbstractKeyOperation​(OperationContext operationContext,
                                       short requestCode,
                                       short responseCode,
                                       K key,
                                       byte[] keyBytes,
                                       org.infinispan.api.common.CacheOptions options,
                                       DataFormat dataFormat)
    • Method Detail

      • returnPossiblePrevValue

        protected <V> org.infinispan.api.common.CacheEntry<K,​V> returnPossiblePrevValue​(io.netty.buffer.ByteBuf buf,
                                                                                              short status)
      • returnVersionedOperationResponse

        protected <V> VersionedOperationResponse<org.infinispan.api.common.CacheEntry<K,​V>> returnVersionedOperationResponse​(io.netty.buffer.ByteBuf buf,
                                                                                                                                   short status)
      • readEntry

        public static <K,​V> org.infinispan.api.common.CacheEntry<K,​V> readEntry​(io.netty.buffer.ByteBuf buf,
                                                                                            K key,
                                                                                            DataFormat dataFormat,
                                                                                            org.infinispan.commons.configuration.ClassAllowList allowList)