@MXBean public interface PaceManager
| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_FILE_SYSTEMS_MOUNTED_DEFAULT_VALUE
The default value for the maximum number of mounted file systems.
|
static int |
MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE
The minimum value for the maximum number of mounted file systems, which
is 2.
|
static String |
MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_KEY
The key string for the system property which defines the value of the
constant
MAXIMUM_FILE_SYSTEMS_MOUNTED_DEFAULT_VALUE. |
static String |
MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_NAME
The name of the property for the maximum number of file systems which
may have been mounted at any time, which is "maximumFileSystemsMounted".
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFileSystemsMounted()
Returns the number of file systems
which have been mounted and need synchronization by calling
sync(). |
int |
getFileSystemsTotal()
Returns the total number of file systems.
|
int |
getMaximumFileSystemsMounted()
Returns the maximum number of file systems which may have been mounted
at any time.
|
int |
getTopLevelArchiveFileSystemsMounted()
Returns the number of top level archive file systems
which have been mounted and need synchronization by calling
sync(). |
int |
getTopLevelArchiveFileSystemsTotal()
Returns the total number of top level archive file systems.
|
void |
setMaximumFileSystemsMounted(int maxMounted)
Sets the maximum number of file systems which may have been mounted
at any time.
|
void |
sync()
Synchronizes all file systems.
|
static final int MAXIMUM_FILE_SYSTEMS_MOUNTED_DEFAULT_VALUE
MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE unless a system
property with the key string
MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_KEY
is set to a value which is greater than
MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE.
Mind you that this constant is initialized when this interface is loaded and cannot accurately reflect the value in a remote JVM instance.
static final int MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE
static final String MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_KEY
MAXIMUM_FILE_SYSTEMS_MOUNTED_DEFAULT_VALUE.
Equivalent to the expression
PaceManager.class.getName() + "." + MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_NAME.static final String MAXIMUM_FILE_SYSTEMS_MOUNTED_PROPERTY_NAME
int getFileSystemsMounted()
sync().
The value of this property never exceeds
getMaximumFileSystemsMounted().
Note that you should not use the returned value to synchronize conditionally - this would be unreliable!
int getFileSystemsTotal()
int getMaximumFileSystemsMounted()
MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE.
The default value is MAXIMUM_FILE_SYSTEMS_MOUNTED_DEFAULT_VALUE.int getTopLevelArchiveFileSystemsMounted()
sync().
The value of this property never exceeds
getFileSystemsMounted().
Note that you should not use the returned value to synchronize conditionally - this would be unreliable!
int getTopLevelArchiveFileSystemsTotal()
getFileSystemsTotal().void setMaximumFileSystemsMounted(int maxMounted)
maxMounted - the maximum number of mounted file systems.IllegalArgumentException - if maxMounted is less than
MAXIMUM_FILE_SYSTEMS_MOUNTED_MINIMUM_VALUE.void sync()
throws FsSyncException
getFileSystemsMounted() is reset to zero.FsSyncException - if the synchronization fails for some reason.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.