Uses of Interface
org.infinispan.commons.io.ByteBuffer
Packages that use ByteBuffer
Package
Description
Commons IO package
Provides Infinispan-specific input and output streams, buffers and related utilities.
Hooks to bridge Infinispan's marshalling APIs with JBoss Marshalling internals.
This package contains a
AdvancedLoadWriteStore
implementation based on
a JDBC database connection.Soft Index
AdvancedLoadWriteStore
.The Persistence SPI.
-
Uses of ByteBuffer in org.infinispan.commons.io
Classes in org.infinispan.commons.io that implement ByteBufferModifier and TypeClassDescriptionclass
A byte buffer that exposes the internal byte array with minimal copyingMethods in org.infinispan.commons.io that return ByteBufferModifier and TypeMethodDescriptionByteBuffer.copy()
Returns a new byte[] instance of sizegetLength()
that contains all the bytes owned by this buffer.ByteBufferFactory.newByteBuffer
(byte[] b) ByteBufferFactory.newByteBuffer
(byte[] b, int offset, int length) ByteBufferFactoryImpl.newByteBuffer
(byte[] b) ByteBufferFactoryImpl.newByteBuffer
(byte[] b, int offset, int length) -
Uses of ByteBuffer in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return ByteBufferModifier and TypeMethodDescriptionAbstractMarshaller.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
ImmutableProtoStreamMarshaller.objectToBuffer
(Object o, int estimatedSize) protected ByteBuffer
JavaSerializationMarshaller.objectToBuffer
(Object o, int estimatedSize) Marshaller.objectToBuffer
(Object o) A method that returns an instance ofByteBuffer
, which allows direct access to the byte array with minimal array copyingprotected ByteBuffer
StringMarshaller.objectToBuffer
(Object o, int estimatedSize) Methods in org.infinispan.commons.marshall with parameters of type ByteBuffer -
Uses of ByteBuffer in org.infinispan.jboss.marshalling.commons
Methods in org.infinispan.jboss.marshalling.commons that return ByteBufferModifier and TypeMethodDescriptionprotected final ByteBuffer
AbstractJBossMarshaller.objectToBuffer
(Object o, int estimatedSize) Deprecated. -
Uses of ByteBuffer in org.infinispan.persistence.jdbc.common
Methods in org.infinispan.persistence.jdbc.common that return ByteBufferModifier and TypeMethodDescriptionstatic ByteBuffer
JdbcUtil.marshall
(Object obj, Marshaller marshaller) Methods in org.infinispan.persistence.jdbc.common with parameters of type ByteBufferModifier and TypeMethodDescriptionstatic <T> T
JdbcUtil.unmarshall
(ByteBuffer buf, Marshaller marshaller) -
Uses of ByteBuffer in org.infinispan.persistence.sifs
Methods in org.infinispan.persistence.sifs with parameters of type ByteBufferModifier and TypeMethodDescriptionNonBlockingSoftIndexFileStore.EntryCreator.create
(ByteBuffer key, ByteBuffer value, ByteBuffer metadata, ByteBuffer internalMetadata, long created, long lastUsed) LogAppender.deleteRequest
(int segment, Object key, ByteBuffer serializedKey) -
Uses of ByteBuffer in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return ByteBufferModifier and TypeMethodDescriptionMarshallableEntry.getInternalMetadataBytes()
MarshalledValue.getInternalMetadataBytes()
MarshallableEntry.getKeyBytes()
Returns the key in serialized format.MarshallableEntry.getMetadataBytes()
MarshalledValue.getMetadataBytes()
MarshallableEntry.getValueBytes()
Returns the value in serialize format.MarshalledValue.getValueBytes()
Methods in org.infinispan.persistence.spi with parameters of type ByteBufferModifier and TypeMethodDescriptionMarshallableEntryFactory.create
(Object key, ByteBuffer valueBytes, ByteBuffer metadataBytes, ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntry
using a object key and already marshalled value/metadata as argumentsMarshallableEntryFactory.create
(ByteBuffer key, ByteBuffer valueBytes) metadataBytes
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntryFactory.create
(ByteBuffer key, ByteBuffer valueBytes, ByteBuffer metadataBytes, ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntry
using already marshalled objects as arguments