Package net.sourceforge.processdash.util.lock

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


    }

    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

        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

        }
    }

    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

    }

    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

Related Classes of net.sourceforge.processdash.util.lock.NotLockedException

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.