Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql
Interface RepositoryManagement

All Known Subinterfaces:
Repository
All Known Implementing Classes:
ConnectionFactoryImpl, ManagedConnectionFactoryImpl, RepositoryImpl

public interface RepositoryManagement

Author:
Florent Guillaume

Method Summary
 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.
 java.util.Collection<MapperClientInfo> getClientInfos()
          Get info about current VCS server clients
 java.lang.String getName()
          Gets the repository name.
 java.lang.String getServerURL()
          Which is the remote location ?
 boolean isServerActivated()
          Is the server available remotely ?
 void processClusterInvalidationsNext()
          Makes sure that the next transaction will process cluster invalidations.
 

Method Detail

getName

java.lang.String getName()
Gets the repository name.


getActiveSessionsCount

int getActiveSessionsCount()
Gets the number of active sessions.


clearCaches

int clearCaches()
Clears all the caches.

Returns:
an indicative count of objects removed

processClusterInvalidationsNext

void processClusterInvalidationsNext()
Makes sure that the next transaction will process cluster invalidations.


isServerActivated

boolean isServerActivated()
Is the server available remotely ?


getServerURL

java.lang.String getServerURL()
Which is the remote location ? TODO this info would be better served by a provisioning service. The remote location is dependent to the context of access.


activateServer

void activateServer()
Activates the VCS server used for remote connections.


deactivateServer

void deactivateServer()
Deactivates the VCS server used for remote connections.


getClientInfos

java.util.Collection<MapperClientInfo> getClientInfos()
Get info about current VCS server clients


Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.