Uses of Interface
org.infinispan.commons.io.ByteBuffer
-
Packages that use ByteBuffer Package Description org.infinispan.commons.io Commons IO packageorg.infinispan.commons.marshall Provides Infinispan-specific input and output streams, buffers and related utilities.org.infinispan.jboss.marshalling.commons Hooks to bridge Infinispan's marshalling APIs with JBoss Marshalling internals.org.infinispan.persistence.sifs Soft IndexAdvancedLoadWriteStore
.org.infinispan.persistence.spi The Persistence SPI. -
-
Uses of ByteBuffer in org.infinispan.commons.io
Classes in org.infinispan.commons.io that implement ByteBuffer Modifier and Type Class Description class
ByteBufferImpl
A byte buffer that exposes the internal byte array with minimal copyingMethods in org.infinispan.commons.io that return ByteBuffer Modifier and Type Method Description ByteBuffer
ByteBuffer. copy()
Returns a new byte[] instance of sizegetLength()
that contains all the bytes owned by this buffer.ByteBuffer
ByteBufferFactory. newByteBuffer(byte[] b, int offset, int length)
ByteBuffer
ByteBufferFactoryImpl. newByteBuffer(byte[] b, int offset, int length)
-
Uses of ByteBuffer in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return ByteBuffer Modifier and Type Method Description ByteBuffer
AbstractDelegatingMarshaller. objectToBuffer(Object o)
ByteBuffer
AbstractMarshaller. objectToBuffer(Object obj)
protected abstract ByteBuffer
AbstractMarshaller. objectToBuffer(Object o, int estimatedSize)
This is a convenience method for converting an object into aByteBuffer
which takes an estimated size as parameter.protected ByteBuffer
IdentityMarshaller. objectToBuffer(Object o, int estimatedSize)
protected ByteBuffer
JavaSerializationMarshaller. objectToBuffer(Object o, int estimatedSize)
ByteBuffer
Marshaller. objectToBuffer(Object o)
A method that returns an instance ofByteBuffer
, which allows direct access to the byte array with minimal array copyingprotected ByteBuffer
ProtoStreamMarshaller. objectToBuffer(Object o, int estimatedSize)
protected ByteBuffer
StringMarshaller. objectToBuffer(Object o, int estimatedSize)
Methods in org.infinispan.commons.marshall with parameters of type ByteBuffer Modifier and Type Method Description static byte[]
MarshallUtil. toByteArray(ByteBuffer buf)
-
Uses of ByteBuffer in org.infinispan.jboss.marshalling.commons
Methods in org.infinispan.jboss.marshalling.commons that return ByteBuffer Modifier and Type Method Description protected ByteBuffer
AbstractJBossMarshaller. objectToBuffer(Object o, int estimatedSize)
-
Uses of ByteBuffer in org.infinispan.persistence.sifs
Methods in org.infinispan.persistence.sifs with parameters of type ByteBuffer Modifier and Type Method Description static void
EntryRecord. writeEntry(FileChannel fileChannel, ByteBuffer serializedKey, ByteBuffer serializedMetadata, ByteBuffer serializedValue, long seqId, long expiration, long created, long lastUsed)
-
Uses of ByteBuffer in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return ByteBuffer Modifier and Type Method Description ByteBuffer
MarshallableEntry. getKeyBytes()
Returns the key in serialized format.ByteBuffer
MarshallableEntry. getMetadataBytes()
ByteBuffer
MarshalledValue. getMetadataBytes()
ByteBuffer
MarshallableEntry. getValueBytes()
Returns the value in serialize format.ByteBuffer
MarshalledValue. getValueBytes()
Methods in org.infinispan.persistence.spi with parameters of type ByteBuffer Modifier and Type Method Description MarshallableEntry<K,V>
MarshallableEntryFactory. create(Object key, ByteBuffer valueBytes, ByteBuffer metadataBytes, long created, long lastUsed)
Creates aMarshallableEntry
using a object key and already marshalled value/metadata as argumentsMarshallableEntry<K,V>
MarshallableEntryFactory. create(ByteBuffer key, ByteBuffer valueBytes)
metadataBytes
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntry<K,V>
MarshallableEntryFactory. create(ByteBuffer key, ByteBuffer valueBytes, ByteBuffer metadataBytes, long created, long lastUsed)
Creates aMarshallableEntry
using already marshalled objects as arguments
-