public final class EventStrategy extends AbstractTraversalStrategy<TraversalStrategy.DecorationStrategy> implements TraversalStrategy.DecorationStrategy
Mutating steps are encountered and successfully executed.
Note that this implementation requires a Graph on the Traversal instance. If that is not present
an IllegalStateException will be thrown.| Modifier and Type | Class and Description |
|---|---|
static class |
EventStrategy.Builder |
static class |
EventStrategy.DefaultEventQueue
Immediately notifies all listeners as events arrive.
|
static interface |
EventStrategy.EventQueue
Gathers messages from callbacks and fires them to listeners.
|
class |
EventStrategy.EventStrategyCallback |
static class |
EventStrategy.TransactionalEventQueue
Stores events in a queue that builds up until the transaction is committed which then fires them in the order
they were received.
|
TraversalStrategy.DecorationStrategy, TraversalStrategy.FinalizationStrategy, TraversalStrategy.OptimizationStrategy, TraversalStrategy.ProviderOptimizationStrategy, TraversalStrategy.VerificationStrategy| Modifier and Type | Method and Description |
|---|---|
void |
apply(Traversal.Admin<?,?> traversal) |
static EventStrategy.Builder |
build() |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getTraversalCategoryapplyPost, applyPriorpublic void apply(Traversal.Admin<?,?> traversal)
apply in interface TraversalStrategy<TraversalStrategy.DecorationStrategy>public static EventStrategy.Builder build()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.