public interface DrSenderStore
Gridgain provides the following GridDrStore implementations:
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all data from store and resets overflow flag to false.
|
DrSenderStoreCursor |
cursor(byte dataCenterId)
Gets cursor for the given data center ID.
|
boolean |
isOverflow()
Get overflow state of the store.
|
long |
sizeBytes() |
default void |
store(byte[] dataCenterIds,
byte[] data,
int cnt)
Store data.
|
default void |
store(byte[] dataCenterIds,
byte[] data,
int cnt,
@Nullable org.apache.ignite.lang.IgniteUuid fstId)
Deprecated.
Synchronous state transfer uses dedicated FST buffer.
|
@Deprecated default void store(byte[] dataCenterIds, byte[] data, int cnt, @Nullable @Nullable org.apache.ignite.lang.IgniteUuid fstId) throws org.apache.ignite.IgniteCheckedException, DrSenderStoreOverflowException
dataCenterIds - Target data center ids.data - Data center replication store entry.cnt - How many entries are inside passed byte array.fstId - Full state transfer id.DrSenderStoreOverflowException - If store is overflowed.org.apache.ignite.IgniteCheckedException - In case of failure.default void store(byte[] dataCenterIds,
byte[] data,
int cnt)
throws org.apache.ignite.IgniteCheckedException
dataCenterIds - Target data center ids.data - Data center replication store entry.cnt - How many entries are inside passed byte array.org.apache.ignite.IgniteCheckedException - In case of failure.DrSenderStoreCursor cursor(byte dataCenterId) throws org.apache.ignite.IgniteCheckedException
dataCenterId - Data center ID.org.apache.ignite.IgniteCheckedException - If failed.void clear()
throws org.apache.ignite.IgniteCheckedException
org.apache.ignite.IgniteCheckedException - If failed.boolean isOverflow()
True if store is overflowed.long sizeBytes()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024