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.StatusCode
TYPE
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
|
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, setImplementation
public RepositoryManager(Whiteboard whiteboard)
public String getName()
public CompositeData startBackup()
RepositoryManagementMBean
startBackup
in interface RepositoryManagementMBean
public CompositeData getBackupStatus()
RepositoryManagementMBean
getBackupStatus
in interface RepositoryManagementMBean
public CompositeData startRestore()
RepositoryManagementMBean
startRestore
in interface RepositoryManagementMBean
public CompositeData getRestoreStatus()
RepositoryManagementMBean
getRestoreStatus
in interface RepositoryManagementMBean
public CompositeData startDataStoreGC(boolean markOnly)
RepositoryManagementMBean
startDataStoreGC
in interface RepositoryManagementMBean
markOnly
- whether to only mark references and not sweep in the mark and sweep operation.public CompositeData getDataStoreGCStatus()
RepositoryManagementMBean
getDataStoreGCStatus
in interface RepositoryManagementMBean
public CompositeData startRevisionGC()
RepositoryManagementMBean
startRevisionGC
in interface RepositoryManagementMBean
public CompositeData getRevisionGCStatus()
RepositoryManagementMBean
getRevisionGCStatus
in interface RepositoryManagementMBean
public String checkpoint(long lifetime)
RepositoryManagementMBean
checkpoint
in interface RepositoryManagementMBean
lifetime
- time (in milliseconds, > 0) that the checkpoint
should remain availablenull
if
the checkpoint could not be set.public CompositeData startPropertyIndexAsyncReindex()
RepositoryManagementMBean
startPropertyIndexAsyncReindex
in interface RepositoryManagementMBean
public CompositeData getPropertyIndexAsyncReindexStatus()
RepositoryManagementMBean
getPropertyIndexAsyncReindexStatus
in interface RepositoryManagementMBean
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"