gr.uoa.di.madgik.rr
Class RRContext
java.lang.Object
gr.uoa.di.madgik.rr.RRContext
public class RRContext
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RRContext
protected RRContext()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getRepositoryProvider
public String getRepositoryProvider()
getRepositoryProviderConfig
public Properties getRepositoryProviderConfig()
getReadOnlyTargets
public Set<String> getReadOnlyTargets()
getEditableTargets
public Set<String> getEditableTargets()
getUpdateTargets
public Set<String> getUpdateTargets()
getInMemoryTargets
public Set<String> getInMemoryTargets()
setLocalNodeHostname
public void setLocalNodeHostname(String localNodeHostname)
getLocalNodeHostname
public String getLocalNodeHostname()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
setLocalNodePort
public void setLocalNodePort(String localNodePort)
getLocalNodePort
public String getLocalNodePort()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
isTargetInMemory
public boolean isTargetInMemory(String target)
getBridgingPeriod
public Long getBridgingPeriod()
getShortBridgingPeriod
public Long getShortBridgingPeriod()
getClearDataStoreOnStartup
public Boolean getClearDataStoreOnStartup()
getFactoryForRead
public javax.jdo.PersistenceManagerFactory getFactoryForRead(RRContext.DatastoreType persistencyType)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getFactoryForWrite
public javax.jdo.PersistenceManagerFactory getFactoryForWrite(RRContext.DatastoreType persistencyType)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getManagerForRead
public javax.jdo.PersistenceManager getManagerForRead(RRContext.DatastoreType persistencyType)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getManagerForWrite
public javax.jdo.PersistenceManager getManagerForWrite(RRContext.DatastoreType persistencyType)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
isDatastoreSupportedForRead
public boolean isDatastoreSupportedForRead(RRContext.DatastoreType datastore)
isDatastoreSupportedForWrite
public boolean isDatastoreSupportedForWrite(RRContext.DatastoreType datastore)
isDatastoreSupported
public boolean isDatastoreSupported(RRContext.DatastoreType datastore)
getSharedLock
public Lock getSharedLock()
getExclusiveLock
public Lock getExclusiveLock()
reset
public void reset()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
Copyright © 2013. All Rights Reserved.