Class LockingConfiguration

    • Method Detail

      • concurrencyLevel

        public int concurrencyLevel()
        Concurrency level for lock containers. Adjust this value according to the number of concurrent threads interacting with Infinispan. Similar to the concurrencyLevel tuning parameter seen in the JDK's ConcurrentHashMap.
      • lockAcquisitionTimeout

        public long lockAcquisitionTimeout()
        Maximum time to attempt a particular lock acquisition
      • useLockStriping

        public boolean useLockStriping()
        If true, a pool of shared locks is maintained for all entries that need to be locked. Otherwise, a lock is created per entry in the cache. Lock striping helps control memory footprint but may reduce concurrency in the system.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object