本文整理了Java中com.hazelcast.nio.Address.writeData()
方法的一些代码示例,展示了Address.writeData()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Address.writeData()
方法的具体详情如下:
包路径:com.hazelcast.nio.Address
类名称:Address
方法名:writeData
暂无
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(final ObjectDataOutput out) throws IOException {
localAddress.writeData(out);
boolean hasTarget = targetAddress != null;
out.writeBoolean(hasTarget);
if (hasTarget) {
targetAddress.writeData(out);
}
out.writeBoolean(reply);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(final ObjectDataOutput out) throws IOException {
localAddress.writeData(out);
boolean hasTarget = targetAddress != null;
out.writeBoolean(hasTarget);
if (hasTarget) {
targetAddress.writeData(out);
}
out.writeBoolean(reply);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out)
throws IOException {
super.writeData(out);
address.writeData(out);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(ObjectDataOutput out)
throws IOException {
super.writeData(out);
address.writeData(out);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeInt(partitionId);
out.writeInt(lostReplicaIndex);
eventSource.writeData(out);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeInt(partitionId);
out.writeInt(lostReplicaIndex);
eventSource.writeData(out);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
super.writeInternal(out);
initiator.writeData(out);
out.writeUTF(txnId);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
super.writeInternal(out);
initiator.writeData(out);
out.writeUTF(txnId);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out) throws IOException {
address.writeData(out);
out.writeUTF(uuid);
out.writeBoolean(liteMember);
out.writeObject(version);
Map<String, Object> attributes = new HashMap<String, Object>(this.attributes);
out.writeInt(attributes.size());
for (Map.Entry<String, Object> entry : attributes.entrySet()) {
out.writeUTF(entry.getKey());
IOUtil.writeAttributeValue(entry.getValue(), out);
}
}
代码示例来源:origin: hazelcast/hazelcast-jet
private static void writePartitionReplicaLegacy(ObjectDataOutput out, PartitionReplica destination) throws IOException {
destination.address().writeData(out);
out.writeUTF(destination.uuid());
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(name);
out.writeInt(eventType.getType());
caller.writeData(out);
out.writeData(data);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(id);
out.writeUTF(serviceName);
out.writeUTF(topic);
subscriber.writeData(out);
out.writeObject(filter);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
super.writeInternal(out);
out.writeObject(stateChange);
initiator.writeData(out);
out.writeUTF(txnId);
out.writeBoolean(isTransient);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(name);
out.writeInt(eventType.getType());
caller.writeData(out);
out.writeData(data);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
super.writeInternal(out);
out.writeObject(stateChange);
initiator.writeData(out);
out.writeUTF(txnId);
out.writeBoolean(isTransient);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(id);
out.writeUTF(serviceName);
out.writeUTF(topic);
subscriber.writeData(out);
out.writeObject(filter);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(name);
out.writeInt(eventType.getType());
caller.writeData(out);
out.writeData(data);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void writeData(ObjectDataOutput out) throws IOException {
out.writeUTF(name);
out.writeInt(eventType.getType());
caller.writeData(out);
out.writeData(data);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
super.writeInternal(out);
out.writeObject(stateChange);
initiator.writeData(out);
out.writeUTF(txnId);
out.writeLong(leaseTime);
out.writeInt(partitionStateVersion);
// RU_COMPAT_V3_10
if (out.getVersion().isGreaterOrEqual(Versions.V3_11)) {
out.writeInt(memberListVersion);
}
}
代码示例来源:origin: noctarius/snowcast
@Override
protected void writeInternal(ObjectDataOutput out)
throws IOException {
super.writeInternal(out);
out.writeInt(logicalNodeId);
address.writeData(out);
out.writeLong(definition.getEpoch().getEpochOffset());
out.writeInt(definition.getMaxLogicalNodeCount());
out.writeShort(definition.getBackupCount());
}
内容来源于网络,如有侵权,请联系作者删除!