@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) final class JmxManagerView extends StandardMBean implements JmxManagerViewMXBean
file system manager.| Modifier and Type | Field and Description |
|---|---|
private static MBeanServer |
mbs |
private FsManager |
model |
private static BitField<FsSyncOption> |
SYNC_OPTIONS |
| Modifier | Constructor and Description |
|---|---|
private |
JmxManagerView(FsManager model) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearStatistics() |
protected String |
getDescription(MBeanAttributeInfo info) |
protected String |
getDescription(MBeanInfo info) |
protected String |
getDescription(MBeanOperationInfo info)
Override customization hook:
You can supply a customized description for MBeanOperationInfo.getDescription()
|
protected String |
getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook:
You can supply a customized description for MBeanParameterInfo.getDescription()
|
JmxModelViewMXBean[] |
getFederatedFileSystems()
Returns a new array of all managed federated file systems.
|
int |
getFileSystemsTotal()
Returns the total number of managed federated file systems.
|
int |
getFileSystemsTouched()
Returns the number of managed federated file systems which have been
touched and need synchronization by calling
FsManager.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>). |
MBeanInfo |
getMBeanInfo() |
MBeanNotificationInfo[] |
getNotificationInfo() |
private static ObjectName |
getObjectName(FsManager model) |
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook:
You can supply a customized description for MBeanParameterInfo.getName()
|
int |
getTopLevelFileSystemsTotal()
Returns the total number of managed top level federated file
systems.
|
int |
getTopLevelFileSystemsTouched()
Returns the number of managed top level federated file systems
which have been touched and need synchronization by calling
FsManager.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>). |
(package private) static JmxManagerViewMXBean |
register(FsManager model) |
void |
umount()
Unmounts all managed federated file systems.
|
(package private) static void |
unregister(FsManager model) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationprivate static final MBeanServer mbs
private final FsManager model
private static final BitField<FsSyncOption> SYNC_OPTIONS
private JmxManagerView(FsManager model)
public void clearStatistics()
clearStatistics in interface JmxManagerViewMXBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription in class StandardMBeanpublic JmxModelViewMXBean[] getFederatedFileSystems()
JmxManagerViewMXBeangetFederatedFileSystems in interface JmxManagerViewMXBeanpublic int getFileSystemsTotal()
JmxManagerViewMXBeangetFileSystemsTotal in interface JmxManagerViewMXBeanpublic int getFileSystemsTouched()
JmxManagerViewMXBeanFsManager.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>).
Note that you should not use the returned value to synchronize conditionally - this is unreliable!
getFileSystemsTouched in interface JmxManagerViewMXBeanpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanpublic MBeanNotificationInfo[] getNotificationInfo()
private static ObjectName getObjectName(FsManager model)
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName in class StandardMBeanpublic int getTopLevelFileSystemsTotal()
JmxManagerViewMXBeangetTopLevelFileSystemsTotal in interface JmxManagerViewMXBeanpublic int getTopLevelFileSystemsTouched()
JmxManagerViewMXBeanFsManager.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>).getTopLevelFileSystemsTouched in interface JmxManagerViewMXBeanstatic JmxManagerViewMXBean register(FsManager model)
public void umount()
throws FsSyncException
JmxManagerViewMXBeanumount in interface JmxManagerViewMXBeanFsSyncException - If any managed federated file system is busy
with I/O.static void unregister(FsManager model)
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.