public class DataStreamerRequest extends Object implements Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
DataStreamerRequest()
Externalizable support. |
DataStreamerRequest(long reqId,
byte[] resTopicBytes,
@Nullable String cacheName,
byte[] updaterBytes,
Collection<DataStreamerEntry> entries,
boolean ignoreDepOwnership,
boolean skipStore,
boolean keepBinary,
DeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,IgniteUuid> ldrParticipants,
IgniteUuid clsLdrId,
boolean forceLocDep,
@NotNull AffinityTopologyVersion topVer,
int partId) |
| Modifier and Type | Method and Description |
|---|---|
String |
cacheName() |
IgniteUuid |
classLoaderId() |
DeploymentMode |
deploymentMode() |
short |
directType()
Gets message type.
|
Collection<DataStreamerEntry> |
entries() |
byte |
fieldsCount()
Gets fields count.
|
boolean |
forceLocalDeployment() |
boolean |
ignoreDeploymentOwnership() |
boolean |
keepBinary() |
void |
onAckReceived()
Method called when ack message received.
|
Map<UUID,IgniteUuid> |
participants() |
int |
partition() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
long |
requestId() |
byte[] |
responseTopicBytes() |
String |
sampleClassName() |
boolean |
skipStore() |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
byte[] |
updaterBytes() |
String |
userVersion() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public DataStreamerRequest()
Externalizable support.public DataStreamerRequest(long reqId,
byte[] resTopicBytes,
@Nullable
@Nullable String cacheName,
byte[] updaterBytes,
Collection<DataStreamerEntry> entries,
boolean ignoreDepOwnership,
boolean skipStore,
boolean keepBinary,
DeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,IgniteUuid> ldrParticipants,
IgniteUuid clsLdrId,
boolean forceLocDep,
@NotNull
@NotNull AffinityTopologyVersion topVer,
int partId)
reqId - Request ID.resTopicBytes - Response topic.cacheName - Cache name.updaterBytes - Cache receiver.entries - Entries to put.ignoreDepOwnership - Ignore ownership.skipStore - Skip store flag.keepBinary - Keep binary flag.depMode - Deployment mode.sampleClsName - Sample class name.userVer - User version.ldrParticipants - Loader participants.clsLdrId - Class loader ID.forceLocDep - Force local deployment.topVer - Topology version.partId - Partition ID.public long requestId()
public byte[] responseTopicBytes()
public String cacheName()
public byte[] updaterBytes()
public Collection<DataStreamerEntry> entries()
public boolean ignoreDeploymentOwnership()
True to ignore ownership.public boolean skipStore()
public boolean keepBinary()
public DeploymentMode deploymentMode()
public String sampleClassName()
public String userVersion()
public Map<UUID,IgniteUuid> participants()
public IgniteUuid classLoaderId()
public boolean forceLocalDeployment()
True to force local deployment.public AffinityTopologyVersion topologyVersion()
public int partition()
public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020