Aitozi commented on a change in pull request #6205: [FLINK-9642]Reduce the 
count to deal with state during a CEP process

 File path: 
 @@ -161,40 +100,30 @@ public void init(
-       /**
-        * Stores given value (value + timestamp) under the given state. It 
assigns a preceding element
-        * relation to the previous entry.
-        *
-        * @param stateName      name of the state that the event should be 
assigned to
-        * @param eventId        unique id of event assigned by this 
-        * @param previousNodeId id of previous entry (might be null if start 
of new run)
-        * @param version        Version of the previous relation
-        * @return assigned id of this element
-        * @throws Exception Thrown if the system cannot access the state.
-        */
-       public NodeId put(
-                       final String stateName,
-                       final EventId eventId,
-                       @Nullable final NodeId previousNodeId,
-                       final DeweyNumber version) throws Exception {
+       public SharedBufferAccessor<V> getAccessor() {
+               return new SharedBufferAccessor<>(this);
+       }
-               if (previousNodeId != null) {
-                       lockNode(previousNodeId);
+       public void advanceTime(long timestamp) throws Exception {
 Review comment:
   This need to be called in nfa package, I think it should be public.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to