public interface OldLockssRepository
extends org.lockss.app.LockssAuManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
OldLockssRepository.RepositoryStateException
Thrown when an unexpected error is encountered while caching.
|
| 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.
|
RepositoryNode getNode(String url) throws MalformedURLException
RepositoryNode which represents the url in question.
This only returns urls which exist in the cache (null otherwise).url - the desired urlMalformedURLExceptionRepositoryNode createNewNode(String url) throws MalformedURLException
RepositoryNode 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.url - the url to be cachedMalformedURLExceptionvoid deactivateNode(String url) throws MalformedURLException
url - the url to be deactivatedMalformedURLExceptionvoid deleteNode(String url) throws MalformedURLException
url - the url to be deletedMalformedURLExceptionvoid nodeConsistencyCheck()
Copyright © 2000–2023 LOCKSS Program. All rights reserved.