public class OldLockssRepositoryImpl extends org.lockss.app.BaseLockssDaemonManager implements OldLockssRepository
org.lockss.app.BaseLockssManager.MapMessageListenerOldLockssRepository.RepositoryStateException| Constructor and Description |
|---|
OldLockssRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryNode |
createNewNode(String url)
Creates a new
RepositoryNode for the purposes of writing a new leaf
to the cache. |
void |
deactivateNode(String url)
Deactivate the node.
|
void |
deleteNode(String url)
Delete the node.
|
RepositoryNode |
getNode(String url)
Returns a
RepositoryNode which represents the url in question. |
void |
nodeConsistencyCheck()
Traverses the node hierarchy and tests internal state consistency for each
node.
|
void |
setAuConfig(org.lockss.config.Configuration auConfig) |
getDaemon, initService, initService, isDaemonInitedgetAlertManager, getApp, getClassName, getConfigManager, getDefaultTempRootDirectory, getJMSManager, getManagerByType, isAppInited, isInited, isRepoReady, isShuttingDown, isStarted, receiveMessage, resetConfig, serviceStarted, setUpJmsReceive, setUpJmsReceive, setUpJmsSend, startService, stopJms, stopService, waitForRepo, waitForRepo, waitStarted, waitStartedpublic void setAuConfig(org.lockss.config.Configuration auConfig)
setAuConfig in interface org.lockss.app.LockssAuManagerpublic RepositoryNode getNode(String url) throws MalformedURLException
OldLockssRepositoryRepositoryNode which represents the url in question.
This only returns urls which exist in the cache (null otherwise).getNode in interface OldLockssRepositoryurl - the desired urlMalformedURLExceptionpublic RepositoryNode createNewNode(String url) throws MalformedURLException
OldLockssRepositoryRepositoryNode for the purposes of writing a new leaf
to the cache. This is used to add new leaves, though it still returns the
leaf if it already exists.createNewNode in interface OldLockssRepositoryurl - the url to be cachedMalformedURLExceptionpublic void deleteNode(String url) throws MalformedURLException
OldLockssRepositorydeleteNode in interface OldLockssRepositoryurl - the url to be deletedMalformedURLExceptionpublic void deactivateNode(String url) throws MalformedURLException
OldLockssRepositorydeactivateNode in interface OldLockssRepositoryurl - the url to be deactivatedMalformedURLExceptionpublic void nodeConsistencyCheck()
OldLockssRepositorynodeConsistencyCheck in interface OldLockssRepositoryCopyright © 2000–2023 LOCKSS Program. All rights reserved.