Package org.apache.jackrabbit.oak.management

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


    @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

    }

    @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

    }

    @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

    @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

TOP

Related Classes of org.apache.jackrabbit.oak.management.ManagementOperation

Copyright © 2018 www.massapicom. 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.