Class TransactionOption


  • public class TransactionOption
    extends java.lang.Object
    Class provided to set some options for the transaction. It can set event filter, set event send or hold option and so on.
    • Field Detail

      • INSTANTANEOUS_SEND_TIME

        public static final int INSTANTANEOUS_SEND_TIME
        Instantaneous send time option. It means that the notification event will be send once it is executed/redo/undo, committed/rolled back.
        See Also:
        Constant Field Values
      • SELF_TRANSACTION_SEND_TIME

        public static final int SELF_TRANSACTION_SEND_TIME
        Self transaction send time option. It means that the notification event will be held until the latest transaction is committed or rolled back.
        See Also:
        Constant Field Values
      • OUTMOST_TRANSACTION_SEND_TIME

        public static final int OUTMOST_TRANSACTION_SEND_TIME
        Outmost transaction send time option. It means that the notification event will be held until the outmost transaction is comitted or rolled back.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransactionOption

        public TransactionOption()
        Default constructor.
    • Method Detail

      • getEventFilter

        public IEventFilter getEventFilter()
        Gets the event filter set in this option.
        Returns:
        the event filter
      • getSendTime

        public int getSendTime()
        Gets the event send option. It can be one of the following options.

      • INSTANTANEOUS_EVENT_SEND
      • SELF_TRANSACTION_EVENT_SEND
      • OUTMOST_TRANSACTION_EVENT_SEND
Returns:
the event send option