Package one.microstream.util.traversing
Class AbstractReferenceHandler
- java.lang.Object
-
- one.microstream.util.traversing.AbstractReferenceHandler
-
- All Implemented Interfaces:
TraversalEnqueuer
,TraversalReferenceHandler
- Direct Known Subclasses:
ReferenceHandlerAccepting
,ReferenceHandlerAcceptingMutating
,ReferenceHandlerMutating
public abstract class AbstractReferenceHandler extends Object implements TraversalReferenceHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractReferenceHandler()
-
Method Summary
Modifier and Type Method Description void
enqueue(Object instance)
void
handleAsFull(Object[] instances)
void
handleAsLeaf(Object[] instances)
void
handleAsNode(Object[] instances)
boolean
skip(Object instance)
-
-
-
Method Detail
-
skip
public final boolean skip(Object instance)
- Specified by:
skip
in interfaceTraversalEnqueuer
-
enqueue
public final void enqueue(Object instance)
- Specified by:
enqueue
in interfaceTraversalEnqueuer
-
handleAsFull
public final void handleAsFull(Object[] instances)
- Specified by:
handleAsFull
in interfaceTraversalReferenceHandler
-
handleAsNode
public final void handleAsNode(Object[] instances)
- Specified by:
handleAsNode
in interfaceTraversalReferenceHandler
-
handleAsLeaf
public final void handleAsLeaf(Object[] instances)
- Specified by:
handleAsLeaf
in interfaceTraversalReferenceHandler
-
-