Class GemfireLockRegistry

java.lang.Object
org.springframework.integration.gemfire.util.GemfireLockRegistry
All Implemented Interfaces:
org.springframework.integration.support.locks.LockRegistry

public class GemfireLockRegistry
extends java.lang.Object
implements org.springframework.integration.support.locks.LockRegistry
Implementation of LockRegistry providing a distributed lock using Gemfire.
Since:
4.0
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String LOCK_REGISTRY_REGION  
  • Constructor Summary

    Constructors 
    Constructor Description
    GemfireLockRegistry​(org.apache.geode.cache.Cache cache)  
    GemfireLockRegistry​(org.apache.geode.cache.Region<?,​?> region)  
  • Method Summary

    Modifier and Type Method Description
    java.util.concurrent.locks.Lock obtain​(java.lang.Object lockKey)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • obtain

      public java.util.concurrent.locks.Lock obtain​(java.lang.Object lockKey)
      Specified by:
      obtain in interface org.springframework.integration.support.locks.LockRegistry