protected internal EntryUpdater <Key> Updater() { using (LockWrapper @lock = readLock(_updateLock, _logger)) { return(State.unsafeUpdater(@lock.Get())); } }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: protected final java.util.Optional<EntryUpdater<Key>> updater(final long version) protected internal Optional <EntryUpdater <Key> > Updater(long version) { using (LockWrapper @lock = readLock(_updateLock, _logger)) { return(State.optionalUpdater(version, @lock.Get())); } }
protected internal EntryUpdater <Key> Resetter(long version) { using (LockWrapper @lock = writeLock(_updateLock, _logger)) { ProgressiveState <Key> current = State; return(current.Resetter(@lock.Get(), new RotationTask(this, version))); } }