Examples of ManagementOperation


Examples of org.apache.jackrabbit.oak.management.ManagementOperation

    @Nonnull
    @Override
    public CompositeData startPropertyIndexAsyncReindex() {
        if (arOp.isDone()) {
            arOp = new ManagementOperation(OP_NAME, new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long t0 = nanoTime();
                    boolean done = false;
                    while (!done) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.management.ManagementOperation

    @Nonnull
    @Override
    public CompositeData startBlobGC() {
        if (gcOp.isDone()) {
            gcOp = new ManagementOperation(OP_NAME, new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long t0 = nanoTime();
                    blobGarbageCollector.collectGarbage();
                    return nanoTime() - t0;
View Full Code Here

Examples of org.apache.jackrabbit.oak.management.ManagementOperation

    }

    @Override
    public synchronized CompositeData startBackup() {
        if (backupOp.isDone()) {
            backupOp = new ManagementOperation("Backup", new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long t0 = nanoTime();
                    backup(store, file);
                    return nanoTime() - t0;
View Full Code Here

Examples of org.apache.jackrabbit.oak.management.ManagementOperation

    }

    @Override
    public synchronized CompositeData startRestore() {
        if (restoreOp.isDone()) {
            restoreOp = new ManagementOperation("Restore", new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long t0 = nanoTime();
                    restore(file, store);
                    return nanoTime() - t0;
View Full Code Here

Examples of org.apache.jackrabbit.oak.management.ManagementOperation

    @Nonnull
    @Override
    public CompositeData startRevisionGC() {
        if (gcOp.isDone()) {
            gcOp = new ManagementOperation(OP_NAME, new Callable<Long>() {
                @Override
                public Long call() throws Exception {
                    long t0 = nanoTime();
                    gc.run();
                    return nanoTime() - t0;
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementOperation

      MBeanOperationInfo[] methodInfos = info.getOperations();
      if (methodInfos != null && methodInfos.length > 0)
      {
         for (MBeanOperationInfo methodInfo : methodInfos)
         {
            ManagementOperation managementOp = getAnnotation(ManagementOperation.class, methodInfo, metaData);
            try
            {
               ManagedOperation op = getManagedOperation(methodInfo, managementOp, mbeanLoader, metaData);
               operations.add(op);
            }
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementOperation

      MBeanOperationInfo[] methodInfos = info.getOperations();
      if (methodInfos != null && methodInfos.length > 0)
      {
         for (MBeanOperationInfo methodInfo : methodInfos)
         {
            ManagementOperation managementOp = getAnnotation(ManagementOperation.class, methodInfo, metaData);
            if (managementOp == null)
               continue;

            try
            {
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementOperation

      Set<MethodInfo> methodInfos = beanInfo.getMethods();
      if (methodInfos != null && methodInfos.isEmpty() == false)
      {
         for (MethodInfo methodInfo : methodInfos)
         {
            ManagementOperation managementOp = getAnnotation(ManagementOperation.class, methodInfo, metaData);
            if (managementOp == null)
               continue;

            ManagedOperation op = getManagedOperation(methodInfo, managementOp, metaData);
            operations.add(op);
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementOperation

      Set<MethodInfo> methodInfos = beanInfo.getMethods();
      if (methodInfos != null && methodInfos.isEmpty() == false)
      {
         for (MethodInfo methodInfo : methodInfos)
         {
            ManagementOperation managementOp = methodInfo.getUnderlyingAnnotation(ManagementOperation.class);
            if (managementOp == null)
               continue;

            ManagedOperation op = getManagedOperation(methodInfo, managementOp);
            operations.add(op);
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementOperation

      Set<MethodInfo> methodInfos = beanInfo.getMethods();
      if (methodInfos != null && methodInfos.isEmpty() == false)
      {
         for (MethodInfo methodInfo : methodInfos)
         {
            ManagementOperation managementOp = methodInfo.getUnderlyingAnnotation(ManagementOperation.class);
            if (managementOp == null)
               continue;

            ManagedOperation op = getManagedOperation(methodInfo, managementOp);
            operations.add(op);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.