Spring Data for VMware GemFire
Class TransactionApplicationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.gemfire.transaction.event.TransactionApplicationEvent
- All Implemented Interfaces:
Serializable
public class TransactionApplicationEvent
extends org.springframework.context.ApplicationEvent
The
TransactionApplicationEvent is an implementation of ApplicationEvent which is fired during
a transaction.- Since:
- 2.3.0
- See Also:
-
InstantLocalDateTimeApplicationEvent- Serialized Form
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTransactionApplicationEvent(Object source) Constructs a new instance ofTransactionApplicationEventinitialized with the givensourceof this transaction event.TransactionApplicationEvent(Object source, String details) Constructs a new instance ofTransactionApplicationEventinitialized with the givensourceof this transaction event anddetailsdescribing the transaction event. -
Method Summary
Modifier and TypeMethodDescriptiongetTimestampAsString(String pattern) static TransactionApplicationEventFactory method used to construct a new instance ofTransactionApplicationEventinitialized with the givensource.toString()Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
TIMESTAMP_PATTERN
- See Also:
-
-
Constructor Details
-
TransactionApplicationEvent
Constructs a new instance ofTransactionApplicationEventinitialized with the givensourceof this transaction event.- Parameters:
source-Objectdefined as the source of thisTransactionApplicationEvent.
-
TransactionApplicationEvent
Constructs a new instance ofTransactionApplicationEventinitialized with the givensourceof this transaction event anddetailsdescribing the transaction event.- Parameters:
source-Objectdefined as the source of thisTransactionApplicationEvent.details-Stringdescribing the transaction event.
-
-
Method Details
-
of
Factory method used to construct a new instance ofTransactionApplicationEventinitialized with the givensource.- Parameters:
source-Objectdefined as the source of thisTransactionApplicationEvent.- Returns:
- a new instance of
TransactionApplicationEvent. - See Also:
-
getDetails
-
getTimestampAsLocalDateTime
-
getTimestampAsString
-
getTimestampAsString
-
toString
- Overrides:
toStringin classEventObject
-
with
-