Class StampedLockManager.Cache.WritableState

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    StampedLockManager.Cache<T>

    public class StampedLockManager.Cache.WritableState
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean purged  
      (package private) Lock writeLock  
    • Constructor Summary

      Constructors 
      Constructor Description
      WritableState​(Lock writeLock)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      (package private) T getData()  
      void purge()  
      • Methods inherited from class java.lang.Object

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

      • writeLock

        Lock writeLock
      • purged

        private boolean purged
    • Constructor Detail

      • WritableState

        WritableState​(Lock writeLock)
    • Method Detail

      • purge

        public void purge()
      • getData

        T getData()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable