Uses of Interface
org.infinispan.commons.io.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.client.hotrod.marshall
-
Uses of ByteBuffer in org.infinispan.commons.io
Modifier and TypeClassDescriptionclass
A byte buffer that exposes the internal byte array with minimal copyingModifier 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
Modifier 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) -
Uses of ByteBuffer in org.infinispan.jboss.marshalling.commons
Modifier and TypeMethodDescriptionprotected final ByteBuffer
AbstractJBossMarshaller.objectToBuffer
(Object o, int estimatedSize) -
Uses of ByteBuffer in org.infinispan.marshall.core
-
Uses of ByteBuffer in org.infinispan.persistence.jdbc.common
Modifier and TypeMethodDescriptionstatic ByteBuffer
JdbcUtil.marshall
(Object obj, Marshaller marshaller) Modifier and TypeMethodDescriptionstatic <T> T
JdbcUtil.unmarshall
(ByteBuffer buf, Marshaller marshaller) -
Uses of ByteBuffer in org.infinispan.persistence.remote.wrapper
Modifier and TypeMethodDescriptionHotRodEntryMarshaller.objectToBuffer
(Object o) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ByteBuffer in org.infinispan.persistence.sifs
Modifier 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
Modifier 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()
Modifier 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