public class State
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<GCUBEXMLResource> |
deletedResources
List of recently deleted resources.
|
static java.lang.Thread |
schedulerT
Thread that periodically backups the XMLStorage
|
static java.lang.Thread |
sweeperT
Thread that periodically sweeps the XMLStorage from expired resources
|
Constructor and Description |
---|
State() |
Modifier and Type | Method and Description |
---|---|
static void |
dispose()
Releases all the State resources
|
static DataManager |
getDataManager() |
static java.util.List<GCUBEXMLResource> |
getDeletedResources() |
static QueryManager |
getQueryManager() |
static void |
initialize()
Initializes the eXist DB connections using during the service life
|
void |
printEnv()
Prints the enviromnet variables
|
public static java.lang.Thread sweeperT
public static java.lang.Thread schedulerT
public static java.util.List<GCUBEXMLResource> deletedResources
public static void initialize() throws java.lang.Exception
configuration
- the RI configuration loaded from the JNDI resourcejava.lang.Exception
- if the intialization failspublic static void dispose() throws java.lang.Exception
java.lang.Exception
- if the shutdown failspublic static DataManager getDataManager()
public static QueryManager getQueryManager()
public static java.util.List<GCUBEXMLResource> getDeletedResources()
public void printEnv()