Class WindowsState

java.lang.Object
org.apache.storm.trident.windowing.WindowsState
All Implemented Interfaces:
State

public class WindowsState extends Object implements State
State implementation for windowing operation. This is mainly used to get callback of commit txId of batches in which triggers are emitted.
  • Constructor Details

    • WindowsState

      public WindowsState()
  • Method Details

    • beginCommit

      public void beginCommit(Long txId)
      Specified by:
      beginCommit in interface State
    • commit

      public void commit(Long txId)
      Specified by:
      commit in interface State
    • getCurrentTxId

      public Long getCurrentTxId()