M - the type of the file system manager.@ThreadSafe public class JmxManagerView<M extends FsManager> extends StandardMBean implements JmxManagerMXBean
| Modifier | Constructor and Description |
|---|---|
protected |
JmxManagerView(Class<? extends JmxManagerMXBean> type,
M manager) |
|
JmxManagerView(M manager) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescription(MBeanAttributeInfo info) |
protected String |
getDescription(MBeanInfo info) |
protected String |
getDescription(MBeanOperationInfo info) |
int |
getFileSystemsMounted()
Returns the number of file systems which have been mounted.
|
int |
getFileSystemsTotal()
Returns the total number of file systems.
|
int |
getTopLevelArchiveFileSystemsMounted()
Returns the number of top level archive file systems
which have been mounted.
|
int |
getTopLevelArchiveFileSystemsTotal()
Returns the total number of top level archive file systems.
|
void |
sync()
Synchronizes all file systems and eventually unmounts them.
|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationprotected JmxManagerView(Class<? extends JmxManagerMXBean> type, M manager)
public JmxManagerView(M manager)
protected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeanpublic int getFileSystemsMounted()
JmxManagerMXBeanNote that you should not use the returned value to synchronize conditionally - this would be unreliable!
getFileSystemsMounted in interface JmxManagerMXBeanpublic int getFileSystemsTotal()
JmxManagerMXBeangetFileSystemsTotal in interface JmxManagerMXBeanpublic int getTopLevelArchiveFileSystemsMounted()
JmxManagerMXBeanJmxManagerMXBean.getFileSystemsMounted().
Note that you should not use the returned value to synchronize conditionally - this would be unreliable!
getTopLevelArchiveFileSystemsMounted in interface JmxManagerMXBeanpublic int getTopLevelArchiveFileSystemsTotal()
JmxManagerMXBeanJmxManagerMXBean.getFileSystemsTotal().getTopLevelArchiveFileSystemsTotal in interface JmxManagerMXBeanpublic void sync()
throws FsSyncException
JmxManagerMXBeanfileSystemsMounted is reset to zero
unless some mounted file systems retain elements in their selective
entry cache.sync in interface JmxManagerMXBeanFsSyncWarningException - if only warning conditions
apply.
This implies that the respective parent file system has been
synchronized with constraints, e.g. if an unclosed archive entry
stream gets forcibly closed.FsSyncException - if any error conditions apply.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.