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, setImplementation
protected JmxManagerView(Class<? extends JmxManagerMXBean> type, M manager)
public JmxManagerView(M manager)
protected String getDescription(MBeanAttributeInfo info)
getDescription
in class StandardMBean
protected String getDescription(MBeanInfo info)
getDescription
in class StandardMBean
protected String getDescription(MBeanOperationInfo info)
getDescription
in class StandardMBean
public int getFileSystemsMounted()
JmxManagerMXBean
Note that you should not use the returned value to synchronize conditionally - this would be unreliable!
getFileSystemsMounted
in interface JmxManagerMXBean
public int getFileSystemsTotal()
JmxManagerMXBean
getFileSystemsTotal
in interface JmxManagerMXBean
public int getTopLevelArchiveFileSystemsMounted()
JmxManagerMXBean
JmxManagerMXBean.getFileSystemsMounted()
.
Note that you should not use the returned value to synchronize conditionally - this would be unreliable!
getTopLevelArchiveFileSystemsMounted
in interface JmxManagerMXBean
public int getTopLevelArchiveFileSystemsTotal()
JmxManagerMXBean
JmxManagerMXBean.getFileSystemsTotal()
.getTopLevelArchiveFileSystemsTotal
in interface JmxManagerMXBean
public void sync() throws FsSyncException
JmxManagerMXBean
fileSystemsMounted
is reset to zero
unless some mounted file systems retain elements in their selective
entry cache.sync
in interface JmxManagerMXBean
FsSyncWarningException
- 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.