|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionManagerFactory
public class TelemetryDefinitionManagerFactory
Provides a Factory class for generating the single PersistentTelemetryDefinitionManager and as many non-persistent ones as required.
Constructor Summary | |
---|---|
TelemetryDefinitionManagerFactory()
|
Method Summary | |
---|---|
static void |
buildGlobalPersistentInstance(java.lang.String defDir)
Creates the singleton persistent instance, using the passed defDir to find telemetry definitions. |
static TelemetryDefinitionManager |
createNonPersistentInstance(boolean linkToGlobalSingleton)
Creates a new non-persistent version of TelemetryDefinitionManager instance. |
static TelemetryDefinitionManager |
getGlobalPersistentInstance()
Gets the singleton global instance of TelemetryDefinitionManger . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TelemetryDefinitionManagerFactory()
Method Detail |
---|
public static TelemetryDefinitionManager getGlobalPersistentInstance()
TelemetryDefinitionManger
.
TelemetryDefinitionManager
.public static void buildGlobalPersistentInstance(java.lang.String defDir)
defDir
- A string indicating the directory where telemetry definitions (in addition to
the "builtin" definitions) will be found.public static TelemetryDefinitionManager createNonPersistentInstance(boolean linkToGlobalSingleton)
TelemetryDefinitionManager
instance. Note that the returned
instance merges its name space with the name space in the global instance.
This means that if a definition name is used in the global instance, it
cannot be used in the returned instance.
linkToGlobalSingleton
- True if the definitions in global singleton telemetry manager
should be merged to this instance.
TelemetryDefinitionManager
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |