Package com.dotcms.repackage.com.bradmcevoy.http

Examples of com.dotcms.repackage.com.bradmcevoy.http.LockToken


//  private static LockToken currentLock;

  public final LockResult lock(LockTimeout lockTimeout, LockInfo lockInfo, String uid)
    {
//      Logger.debug("Lock : " + lockTimeout + " info : " + lockInfo + " on resource : " + getName() + " in : " + parent);
      LockToken token = new LockToken();
      token.info = lockInfo;
      token.timeout = LockTimeout.parseTimeout("30");
      token.tokenId = uid;
      locks.put(uid, token);
//      LockToken currentLock = token;
View Full Code Here


    public final LockResult refreshLock(String uid)
    {
//      log.trace("RefreshLock : " + tokenId + " on resource : " + getName() + " in : " + parent);
      //throw new UnsupportedOperationException("Not supported yet.");
      LockToken token = new LockToken();
      token.info = null;
      token.timeout = LockTimeout.parseTimeout("30");
      token.tokenId = uid;
      locks.put(uid, token);
      return LockResult.success(token);
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.com.bradmcevoy.http.LockToken

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.