Class EventStrategy.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.EventStrategy.Builder
-
- Enclosing class:
- EventStrategy
public static final class EventStrategy.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventStrategy.Builder
addListener(MutationListener listener)
EventStrategy
create()
EventStrategy.Builder
detach(EventStrategy.Detachment detachment)
Configures the method of detachment for element provided in mutation callback events.EventStrategy.Builder
eventQueue(EventStrategy.EventQueue eventQueue)
-
-
-
Method Detail
-
addListener
public EventStrategy.Builder addListener(MutationListener listener)
-
eventQueue
public EventStrategy.Builder eventQueue(EventStrategy.EventQueue eventQueue)
-
detach
public EventStrategy.Builder detach(EventStrategy.Detachment detachment)
Configures the method of detachment for element provided in mutation callback events. The default isEventStrategy.Detachment.DETACHED_WITH_PROPERTIES
.
-
create
public EventStrategy create()
-
-