Class AgentBuilder.CircularityLock.Default

    • Field Detail

      • NOT_ACQUIRED

        private static final java.lang.Boolean NOT_ACQUIRED
        Indicates that the circularity lock is not currently acquired.
    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • acquire

        public boolean acquire()
        Attempts to acquire a circularity lock.
        Specified by:
        acquire in interface AgentBuilder.CircularityLock
        Returns:
        true if the lock was acquired successfully, false if it is already hold.