Class PathRegistry<K,E>
java.lang.Object
com.espertech.esper.common.internal.collection.PathRegistry<K,E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addDependency
(K entityKey, String moduleName, String deploymentIdDep) void
addEntry
(K entityKey, String moduleName, PathDeploymentEntry<E> entity) copy()
void
deleteDeployment
(String deploymentId) getAnyModuleExpectSingle
(K entityKey, Set<String> moduleUses) int
getCount()
getDependencies
(K entityKey, String moduleName) getDeploymentId
(K entityEntity, String moduleName) getEntryWithModule
(K entityKey, String moduleName) getWithModule
(K entityKey, String moduleName) boolean
isEmpty()
void
mergeFrom
(PathRegistry<K, E> other) void
mergeFromCheckDuplicate
(PathRegistry<K, E> other, String moduleName) void
removeDependency
(K entityKey, String moduleName, String deploymentId) void
void
traverseWithModule
(BiConsumer<String, E> consumer)
-
Constructor Details
-
PathRegistry
-
-
Method Details
-
getObjectType
-
add
- Throws:
PathException
-
addEntry
public void addEntry(K entityKey, String moduleName, PathDeploymentEntry<E> entity) throws PathException - Throws:
PathException
-
getAnyModuleExpectSingle
public Pair<E,String> getAnyModuleExpectSingle(K entityKey, Set<String> moduleUses) throws PathException - Throws:
PathException
-
getWithModule
-
getEntryWithModule
-
getDeploymentId
-
deleteDeployment
-
getCount
public int getCount() -
addDependency
-
getDependencies
-
removeDependency
-
traverse
-
traverseWithModule
-
mergeFrom
-
mergeFromCheckDuplicate
public void mergeFromCheckDuplicate(PathRegistry<K, E> other, String moduleName) throws PathExceptionAlreadyRegistered- Throws:
PathExceptionAlreadyRegistered
-
copy
-
isEmpty
public boolean isEmpty()
-