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 IgniteUuid fstId)
Deprecated.
Synchronous state transfer uses dedicated FST buffer.
|
@Deprecated default void store(byte[] dataCenterIds, byte[] data, int cnt, @Nullable @Nullable IgniteUuid fstId) throws 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.IgniteCheckedException
- In case of failure.default void store(byte[] dataCenterIds, byte[] data, int cnt) throws IgniteCheckedException
dataCenterIds
- Target data center ids.data
- Data center replication store entry.cnt
- How many entries are inside passed byte array.IgniteCheckedException
- In case of failure.DrSenderStoreCursor cursor(byte dataCenterId) throws IgniteCheckedException
dataCenterId
- Data center ID.IgniteCheckedException
- If failed.void clear() throws IgniteCheckedException
IgniteCheckedException
- If failed.boolean isOverflow()
True
if store is overflowed.long sizeBytes()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024