public class RepositoryManager extends AnnotatedStandardMBean implements RepositoryManagementMBean
RepositoryManagementMBean based
on a Whiteboard instance, which is used to look up individual
service providers for backup (FileStoreBackupRestoreMBean), data store
garbage collections (BlobGCMBean) and revision store garbage
collections (RevisionGCMBean).RepositoryManagementMBean.StatusCodeTYPE| Constructor and Description |
|---|
RepositoryManager(Whiteboard whiteboard) |
| Modifier and Type | Method and Description |
|---|---|
String |
checkpoint(long lifetime)
Creates a new checkpoint of the latest root of the tree.
|
CompositeData |
getBackupStatus()
Backup status
|
CompositeData |
getDataStoreGCStatus()
Data store garbage collection status
|
String |
getName() |
CompositeData |
getPropertyIndexAsyncReindexStatus()
Asynchronous Property Index reindexing status
|
CompositeData |
getRestoreStatus()
Restore status
|
CompositeData |
getRevisionGCStatus()
Revision garbage collection status
|
TabularData |
refreshAllSessions()
Refresh all currently open sessions.
|
CompositeData |
startBackup()
Initiate a backup operation.
|
CompositeData |
startDataStoreGC(boolean markOnly)
Initiate a data store garbage collection operation
|
CompositeData |
startPropertyIndexAsyncReindex()
Initiate a reindex operation for the property indexes marked for
reindexing
|
CompositeData |
startRestore()
Initiate a restore operation.
|
CompositeData |
startRevisionGC()
Initiate a revision garbage collection operation
|
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic RepositoryManager(Whiteboard whiteboard)
public String getName()
public CompositeData startBackup()
RepositoryManagementMBeanstartBackup in interface RepositoryManagementMBeanpublic CompositeData getBackupStatus()
RepositoryManagementMBeangetBackupStatus in interface RepositoryManagementMBeanpublic CompositeData startRestore()
RepositoryManagementMBeanstartRestore in interface RepositoryManagementMBeanpublic CompositeData getRestoreStatus()
RepositoryManagementMBeangetRestoreStatus in interface RepositoryManagementMBeanpublic CompositeData startDataStoreGC(boolean markOnly)
RepositoryManagementMBeanstartDataStoreGC in interface RepositoryManagementMBeanmarkOnly - whether to only mark references and not sweep in the mark and sweep operation.public CompositeData getDataStoreGCStatus()
RepositoryManagementMBeangetDataStoreGCStatus in interface RepositoryManagementMBeanpublic CompositeData startRevisionGC()
RepositoryManagementMBeanstartRevisionGC in interface RepositoryManagementMBeanpublic CompositeData getRevisionGCStatus()
RepositoryManagementMBeangetRevisionGCStatus in interface RepositoryManagementMBeanpublic String checkpoint(long lifetime)
RepositoryManagementMBeancheckpoint in interface RepositoryManagementMBeanlifetime - time (in milliseconds, > 0) that the checkpoint
should remain availablenull if
the checkpoint could not be set.public CompositeData startPropertyIndexAsyncReindex()
RepositoryManagementMBeanstartPropertyIndexAsyncReindex in interface RepositoryManagementMBeanpublic CompositeData getPropertyIndexAsyncReindexStatus()
RepositoryManagementMBeangetPropertyIndexAsyncReindexStatus in interface RepositoryManagementMBeanpublic TabularData refreshAllSessions()
RepositoryManagementMBeanrefreshAllSessions in interface RepositoryManagementMBean"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"