Class DistributedLocks

java.lang.Object
com.teracloud.streams.dl.DistributedLocks

public class DistributedLocks extends Object
This is the main entry point into the locking API, used to create a LockFactory. It is assumed that the DistributedStores class has been configured using its initialize method before attempts to utilize the DistributedLocks are made.
  • Constructor Details

    • DistributedLocks

      public DistributedLocks()
  • Method Details

    • getLockFactory

      public static LockFactory getLockFactory()
      Get a LockFactory instance
      Returns:
      the one and only factory we will have per process.