public class RRContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RRContext.DatastoreType |
static class |
RRContext.ReadPolicy |
static class |
RRContext.WritePolicy |
| Modifier | Constructor and Description |
|---|---|
protected |
RRContext() |
protected RRContext()
throws ResourceRegistryException
ResourceRegistryExceptionpublic String getRepositoryProvider()
public Properties getRepositoryProviderConfig()
public void setLocalNodeHostname(String localNodeHostname)
public String getLocalNodeHostname() throws ResourceRegistryException
ResourceRegistryExceptionpublic void setLocalNodePort(String localNodePort)
public String getLocalNodePort() throws ResourceRegistryException
ResourceRegistryExceptionpublic boolean isTargetInMemory(String target)
public Long getBridgingPeriod()
public Long getShortBridgingPeriod()
public Boolean getClearDataStoreOnStartup()
public javax.jdo.PersistenceManagerFactory getFactoryForRead(RRContext.DatastoreType persistencyType) throws ResourceRegistryException
ResourceRegistryExceptionpublic javax.jdo.PersistenceManagerFactory getFactoryForWrite(RRContext.DatastoreType persistencyType) throws ResourceRegistryException
ResourceRegistryExceptionpublic javax.jdo.PersistenceManager getManagerForRead(RRContext.DatastoreType persistencyType) throws ResourceRegistryException
ResourceRegistryExceptionpublic javax.jdo.PersistenceManager getManagerForWrite(RRContext.DatastoreType persistencyType) throws ResourceRegistryException
ResourceRegistryExceptionpublic boolean isDatastoreSupportedForRead(RRContext.DatastoreType datastore)
public boolean isDatastoreSupportedForWrite(RRContext.DatastoreType datastore)
public boolean isDatastoreSupported(RRContext.DatastoreType datastore)
public Lock getSharedLock()
public Lock getExclusiveLock()
public void reset()
throws ResourceRegistryException
ResourceRegistryExceptionpublic void resetDT(RRContext.DatastoreType datastoretype) throws ResourceRegistryException
ResourceRegistryExceptionCopyright © 2014. All Rights Reserved.