| Package | Description |
|---|---|
| org.infinispan.client.hotrod.marshall | |
| org.infinispan.commons.io |
Commons IO package
|
| org.infinispan.commons.marshall |
Provides Infinispan-specific input and output streams, buffers and related utilities.
|
| org.infinispan.marshall.core | |
| org.infinispan.marshall.persistence.impl |
This package should mainly contain
MessageMarshaller implementations for classes
which a static inner class is not possible. |
| org.infinispan.persistence.spi |
The Persistence SPI.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
BytesOnlyMarshaller.objectToBuffer(Object o) |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBufferImpl
A byte buffer that exposes the internal byte array with minimal copying
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
ByteBuffer.copy()
Returns a new byte[] instance of size
getLength() 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) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
AbstractDelegatingMarshaller.objectToBuffer(Object o) |
ByteBuffer |
AbstractMarshaller.objectToBuffer(Object obj) |
ByteBuffer |
Marshaller.objectToBuffer(Object o)
A method that returns an instance of
ByteBuffer, which allows direct access to the byte
array with minimal array copying |
protected abstract ByteBuffer |
AbstractMarshaller.objectToBuffer(Object o,
int estimatedSize)
This is a convenience method for converting an object into a
ByteBuffer which takes
an estimated size as parameter. |
protected ByteBuffer |
IdentityMarshaller.objectToBuffer(Object o,
int estimatedSize) |
protected ByteBuffer |
JavaSerializationMarshaller.objectToBuffer(Object o,
int estimatedSize) |
protected ByteBuffer |
ProtoStreamMarshaller.objectToBuffer(Object o,
int estimatedSize) |
protected ByteBuffer |
StringMarshaller.objectToBuffer(Object o,
int estimatedSize) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
MarshallUtil.toByteArray(ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
GlobalMarshaller.objectToBuffer(Object o) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
MarshallableEntryImpl.getInternalMetadataBytes() |
ByteBuffer |
MarshalledValueImpl.getInternalMetadataBytes() |
ByteBuffer |
MarshallableEntryImpl.getKeyBytes() |
ByteBuffer |
MarshallableEntryImpl.getMetadataBytes() |
ByteBuffer |
MarshalledValueImpl.getMetadataBytes() |
ByteBuffer |
MarshallableEntryImpl.getValueBytes() |
ByteBuffer |
MarshalledValueImpl.getValueBytes() |
ByteBuffer |
PersistenceMarshallerImpl.objectToBuffer(Object o) |
| Modifier and Type | Method and Description |
|---|---|
MarshallableEntry |
MarshalledEntryFactoryImpl.create(ByteBuffer key,
ByteBuffer valueBytes) |
MarshallableEntry |
MarshalledEntryFactoryImpl.create(ByteBuffer key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
ByteBuffer internalMetadataBytes,
long created,
long lastUsed) |
MarshallableEntry |
MarshalledEntryFactoryImpl.create(Object key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
ByteBuffer internalMetadataBytes,
long created,
long lastUsed) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
MarshallableEntry.getInternalMetadataBytes() |
ByteBuffer |
MarshalledValue.getInternalMetadataBytes() |
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() |
| Modifier and Type | Method and Description |
|---|---|
MarshallableEntry<K,V> |
MarshallableEntryFactory.create(ByteBuffer key,
ByteBuffer valueBytes)
metadataBytes defaults to null
created defaults to -1
lastUsed defaults to -1 |
MarshallableEntry<K,V> |
MarshallableEntryFactory.create(ByteBuffer key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
ByteBuffer internalMetadataBytes,
long created,
long lastUsed)
Creates a
MarshallableEntry using already marshalled objects as arguments |
MarshallableEntry<K,V> |
MarshallableEntryFactory.create(Object key,
ByteBuffer valueBytes,
ByteBuffer metadataBytes,
ByteBuffer internalMetadataBytes,
long created,
long lastUsed)
Creates a
MarshallableEntry using a object key and already marshalled value/metadata as arguments |
Copyright © 2022 JBoss by Red Hat. All rights reserved.