Class AddressPartNode<T>
java.lang.Object
org.apache.activemq.artemis.core.postoffice.impl.AddressPartNode<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAddressPartNode(String anyDescendent, String anyChild) AddressPartNode(String path, AddressPartNode<T> parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetChildOrCreate(String path) getPath()protected voidvoidprotected voidremoveChild(AddressPartNode<T> node) voidreset()voidvisitDescendantNonWildcardValues(AddressMapVisitor<T> collector) voidvisitMatchingWildcards(String[] paths, int startIndex, AddressMapVisitor<T> collector) voidvisitNonWildcard(String[] paths, int startIndex, AddressMapVisitor<T> collector) voidvisitPathTailMatch(String[] paths, int startIndex, AddressMapVisitor<T> collector) voidvisitPathTailNonWildcard(String[] paths, int startIndex, AddressMapVisitor<T> collector) voidvisitValues(AddressMapVisitor<T> collector)
-
Field Details
-
ANY_CHILD
-
ANY_DESCENDENT
-
-
Constructor Details
-
AddressPartNode
-
AddressPartNode
-
-
Method Details
-
getChild
-
getChildren
-
getChildOrCreate
-
add
-
remove
-
visitDescendantNonWildcardValues
- Throws:
Exception
-
visitPathTailNonWildcard
public void visitPathTailNonWildcard(String[] paths, int startIndex, AddressMapVisitor<T> collector) throws Exception - Throws:
Exception
-
visitPathTailMatch
public void visitPathTailMatch(String[] paths, int startIndex, AddressMapVisitor<T> collector) throws Exception - Throws:
Exception
-
visitNonWildcard
public void visitNonWildcard(String[] paths, int startIndex, AddressMapVisitor<T> collector) throws Exception - Throws:
Exception
-
visitMatchingWildcards
public void visitMatchingWildcards(String[] paths, int startIndex, AddressMapVisitor<T> collector) throws Exception - Throws:
Exception
-
visitValues
- Throws:
Exception
-
getPath
-
pruneIfEmpty
protected void pruneIfEmpty() -
removeChild
-
reset
public void reset()
-