Package uk.org.microbase.util

Examples of uk.org.microbase.util.DistributedLock


  }

  public MessageDAO(DB db, String collectionName)
  {
    super(db, collectionName);
    this.lock = new DistributedLock(LOCK_NAME);
  }
View Full Code Here


  private final BlockingQueue<Message> jobQueue;

  public JobQueue(String queueName)
  {
    jobQueue = Hazelcast.getQueue(queueName+QUEUE_NAME_SUFFIX);
    this.lock = new DistributedLock(LOCK_NAME);
  }
View Full Code Here

  public ActiveProcessDAO()
  {
    pidToProcessInfo = Hazelcast.getMultiMap(HC_MULTI_MAP_PROCESSES);

    lock = new DistributedLock(LOCK_NAME);
  }
View Full Code Here

  private final Set<ResponderEstimatedLoad> currentLoads;

  public ResponderLoadDAO()
  {
    currentLoads = Hazelcast.getSet(HC_SET_LOAD);
    lock = new DistributedLock(LOCK_NAME);
  }
View Full Code Here

TOP

Related Classes of uk.org.microbase.util.DistributedLock

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.