public class TransactionEvent extends Object implements Serializable
Serializable
here for the sake of simplicity.
In production, Hazelcast Custom Serialization should be used.Modifier and Type | Class and Description |
---|---|
static class |
TransactionEvent.Type |
Constructor and Description |
---|
TransactionEvent(long timestamp,
long transactionId,
TransactionEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
long |
timestamp() |
long |
transactionId() |
TransactionEvent.Type |
type() |
public TransactionEvent(long timestamp, long transactionId, TransactionEvent.Type type)
public TransactionEvent.Type type()
public long transactionId()
public long timestamp()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.