use of com.hazelcast.transaction.impl.TransactionLogRecord in project hazelcast by hazelcast.
the class PutRemoteTransactionBackupOperation method writeInternal.
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
out.writeUTF(txnId);
out.writeObject(xid);
out.writeUTF(txOwnerUuid);
out.writeLong(timeoutMillis);
out.writeLong(startTime);
int len = records.size();
out.writeInt(len);
if (len > 0) {
for (TransactionLogRecord record : records) {
out.writeObject(record);
}
}
}
use of com.hazelcast.transaction.impl.TransactionLogRecord in project hazelcast by hazelcast.
the class PutRemoteTransactionBackupOperation method readInternal.
@Override
protected void readInternal(ObjectDataInput in) throws IOException {
txnId = in.readUTF();
xid = in.readObject();
txOwnerUuid = in.readUTF();
timeoutMillis = in.readLong();
startTime = in.readLong();
int len = in.readInt();
if (len > 0) {
for (int i = 0; i < len; i++) {
TransactionLogRecord record = in.readObject();
records.add(record);
}
}
}
use of com.hazelcast.transaction.impl.TransactionLogRecord in project hazelcast by hazelcast.
the class PutRemoteTransactionOperation method writeInternal.
@Override
protected void writeInternal(ObjectDataOutput out) throws IOException {
out.writeUTF(txnId);
out.writeObject(xid);
out.writeUTF(txOwnerUuid);
out.writeLong(timeoutMillis);
out.writeLong(startTime);
int len = records.size();
out.writeInt(len);
if (len > 0) {
for (TransactionLogRecord record : records) {
out.writeObject(record);
}
}
}
Aggregations