Examples of NotLockedException


Examples of com.splunk.shuttl.archiver.bucketlock.SimpleFileLock.NotLockedException

      LocalBucket bucket, List<BucketLock> bucketLocks) {
    this.bucketShuttler = bucketShuttler;
    this.bucket = bucket;
    this.bucketLocks = bucketLocks;
    if (!locksAreLocked())
      throw new NotLockedException("Bucket Lock has to be locked already"
          + " before archiving bucket");
  }
View Full Code Here

Examples of net.sourceforge.processdash.util.lock.NotLockedException

        }
    }

    public void assertWriteLock() throws LockFailureException {
        if (writeLock == null)
            throw new NotLockedException();
        else
            writeLock.assertLock();
    }
View Full Code Here

Examples of net.sourceforge.processdash.util.lock.NotLockedException

    }

    public synchronized boolean syncUp(SyncFilter filter) throws IOException,
            LockFailureException {
        if (userName == null)
            throw new NotLockedException();

        ProfTimer pt = new ProfTimer(logger, "ResourceBridgeClient.syncUp["
                + remoteUrl + "]");
        ResourceCollectionDiff diff = getDiff();
        applySyncFilter(diff, filter);
View Full Code Here

Examples of net.sourceforge.processdash.util.lock.NotLockedException

        return madeChange;
    }
   
    public synchronized void saveDefaultExcludedFiles() throws IOException, LockFailureException {
        if (userName == null)
            throw new NotLockedException();

        List params = new ArrayList();
        for (String name : ResourceFilterFactory.DEFAULT_EXCLUDE_FILENAMES) {
            addFileUploadParams(params, name);
        }
View Full Code Here

Examples of net.sourceforge.processdash.util.lock.NotLockedException

        }
    }

    public synchronized void pingLock() throws LockFailureException {
        if (userName == null)
            throw new NotLockedException();

        ProfTimer pt = new ProfTimer(logger, "ResourceBridgeClient.pingLock["
                + remoteUrl + "]");
        try {
            doLockPostRequest(PING_LOCK_ACTION);
View Full Code Here

Examples of net.sourceforge.processdash.util.lock.NotLockedException

    }

    private synchronized void doAssertLock(String action)
            throws LockFailureException {
        if (userName == null)
            throw new NotLockedException();

        ProfTimer pt = new ProfTimer(logger, "ResourceBridgeClient." + action
                + "[" + remoteUrl + "]");
        try {
            doLockPostRequest(action);
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.