public abstract class SnapshotSender extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IgniteLogger |
log
Ignite logger to use.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SnapshotSender(IgniteLogger log,
Executor exec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(@Nullable Throwable th)
Closes this snapshot sender and releases any resources associated with it.
|
protected void |
close0(@Nullable Throwable th)
Closes this snapshot sender and releases any resources associated with it.
|
Executor |
executor() |
protected abstract void |
init(int partsCnt) |
void |
sendBinaryMeta(Collection<BinaryType> types) |
protected void |
sendBinaryMeta0(Collection<BinaryType> types) |
void |
sendCacheConfig(File ccfg,
String cacheDirName) |
protected void |
sendCacheConfig0(File ccfg,
String cacheDirName) |
void |
sendDelta(File delta,
String cacheDirName,
GroupPartitionId pair) |
protected abstract void |
sendDelta0(File delta,
String cacheDirName,
GroupPartitionId pair) |
void |
sendMarshallerMeta(List<Map<Integer,MappedName>> mappings) |
protected void |
sendMarshallerMeta0(List<Map<Integer,MappedName>> mappings) |
void |
sendPart(File part,
String cacheDirName,
GroupPartitionId pair,
Long length) |
protected abstract void |
sendPart0(File part,
String cacheDirName,
GroupPartitionId pair,
Long length) |
protected final IgniteLogger log
protected SnapshotSender(IgniteLogger log, Executor exec)
log - Ignite logger to use.public Executor executor()
public final void sendMarshallerMeta(List<Map<Integer,MappedName>> mappings)
mappings - Local node marshaller mappings.public final void sendBinaryMeta(Collection<BinaryType> types)
types - Collection of known binary types.public final void sendCacheConfig(File ccfg, String cacheDirName)
ccfg - Cache configuration file.cacheDirName - Cache group directory name.public final void sendPart(File part, String cacheDirName, GroupPartitionId pair, Long length)
part - Partition file to send.cacheDirName - Cache group directory name.pair - Group id with partition id pair.length - Partition length.public final void sendDelta(File delta, String cacheDirName, GroupPartitionId pair)
delta - Delta pages file.cacheDirName - Cache group directory name.pair - Group id with partition id pair.public final void close(@Nullable
@Nullable Throwable th)
th - An exception occurred during snapshot operation processing.protected abstract void init(int partsCnt)
partsCnt - Number of objects to process.protected abstract void sendPart0(File part, String cacheDirName, GroupPartitionId pair, Long length)
part - Partition file to send.cacheDirName - Cache group directory name.pair - Group id with partition id pair.length - Partition length.protected abstract void sendDelta0(File delta, String cacheDirName, GroupPartitionId pair)
delta - Delta pages file.cacheDirName - Cache group directory name.pair - Group id with partition id pair.protected void sendMarshallerMeta0(List<Map<Integer,MappedName>> mappings)
mappings - Local node marshaller mappings.protected void sendBinaryMeta0(Collection<BinaryType> types)
types - Collection of known binary types.protected void sendCacheConfig0(File ccfg, String cacheDirName)
ccfg - Cache configuration file.cacheDirName - Cache group directory name.protected void close0(@Nullable
@Nullable Throwable th)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023