public class JoltRepository
extends java.lang.Object
JoltDefinition
Modifier and Type | Method and Description |
---|---|
boolean |
flushDefinition(java.lang.String type,
java.lang.String name)
Flush a definition from the cache.
|
JoltDefinition |
getDefinition(java.lang.String type,
java.lang.String name)
Get a definition of a given type and name from the Jolt Repository.
|
void |
setCache(java.util.Enumeration cache)
Preload the data into the cache for this repository.
|
void |
shareCache(JoltRepository rep)
Share the cached data from this repository with the repositories
from other sessions.
|
public void setCache(java.util.Enumeration cache)
cache
- An enumeration of the service definitions in string.public void shareCache(JoltRepository rep)
rep
- Repository object from another session.public JoltDefinition getDefinition(java.lang.String type, java.lang.String name) throws DefinitionException
type
- "SVC" for service, "QUEUE" for queue...name
- The name of the definitionDefinitionException
- Malformed definition.JoltDefinition
public boolean flushDefinition(java.lang.String type, java.lang.String name)
type
- "SVC" for service, "QUEUE" for queue...name
- The name of the definition