public class PathInfoHandler extends AbstractRuntimeOnlyHandler
FileStore.getUsableSpace()| Modifier and Type | Class and Description |
|---|---|
static class |
PathInfoHandler.Builder |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation)
Compute the file usage metric which contains the total size of a folder and the usable space (as in Java nio).
|
static void |
registerOperation(ManagementResourceRegistration resourceRegistration,
PathInfoHandler handler) |
execute, resourceMustExistprotected void executeRuntimeStep(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
executeRuntimeStep in class AbstractRuntimeOnlyHandlercontext - the operation contextoperation - the operation being executedOperationFailedExceptionFileStore.getUsableSpace()public static void registerOperation(ManagementResourceRegistration resourceRegistration, PathInfoHandler handler)
Copyright © 2017 JBoss by Red Hat. All rights reserved.