Home
last modified time | relevance | path

Searched refs:READ_STATE_UPDATER (Results 1 – 1 of 1) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java88 private static final AtomicReferenceFieldUpdater<WsFrameBase, ReadState> READ_STATE_UPDATER = field in WsFrameBase
774 if (!READ_STATE_UPDATER.compareAndSet(this, ReadState.WAITING, in suspend()
780 if (!READ_STATE_UPDATER.compareAndSet(this, ReadState.PROCESSING, in suspend()
842 if (!READ_STATE_UPDATER.compareAndSet(this, ReadState.SUSPENDING_WAIT, in resume()
848 if (!READ_STATE_UPDATER.compareAndSet(this, ReadState.SUSPENDING_PROCESS, in resume()
854 if (!READ_STATE_UPDATER.compareAndSet(this, ReadState.SUSPENDED, in resume()
877 READ_STATE_UPDATER.set(this, newState); in changeReadState()
881 return READ_STATE_UPDATER.compareAndSet(this, oldState, newState); in changeReadState()