public interface RepositoryManagement
Modifier and Type | Method and Description |
---|---|
void |
activateServer()
Activates the VCS server used for remote connections.
|
int |
clearCaches()
Clears all the caches.
|
void |
deactivateServer()
Deactivates the VCS server used for remote connections.
|
int |
getActiveSessionsCount()
Gets the number of active sessions.
|
BinaryGarbageCollector |
getBinaryGarbageCollector()
Gets the binary GC for this repository.
|
Collection<MapperClientInfo> |
getClientInfos()
Get info about current VCS server clients
|
String |
getName()
Gets the repository name.
|
String |
getServerURL()
Which is the remote location ?
TODO this info would be better served by a provisioning service.
|
boolean |
isServerActivated()
Is the server available remotely ?
|
void |
markReferencedBinaries(BinaryGarbageCollector gc)
Marks the binaries actually in use with the GC so that they won't be
deleted.
|
void |
processClusterInvalidationsNext()
Makes sure that the next transaction will process cluster invalidations.
|
String getName()
int getActiveSessionsCount()
int clearCaches()
void processClusterInvalidationsNext()
boolean isServerActivated()
String getServerURL()
void activateServer()
void deactivateServer()
Collection<MapperClientInfo> getClientInfos()
BinaryGarbageCollector getBinaryGarbageCollector()
void markReferencedBinaries(BinaryGarbageCollector gc)
The passed GC may or may not be the one returned by
getBinaryGarbageCollector()
in case it's been determined that
another repository's GC is pointing to the same binary data.
gc
- the binary garbage collector to use for this repository's
binariesCopyright © 2011 Nuxeo SA. All Rights Reserved.