Lines Matching refs:state
60 private final POAFactory factory ; // factory which contains global state
63 private State state; // current state of this POAManager
74 private String stateToString( State state )
76 switch (state.value()) {
89 " state=" + stateToString(state) +
148 state = State.HOLDING;
160 if (state.value() == State._INACTIVE) {
178 switch (state.value()) {
188 * The following four public methods are used to change the POAManager's state.
220 if ( state.value() == State._INACTIVE )
223 // set the state to ACTIVE
224 state = State.ACTIVE;
229 // state was HOLDING, as well as notify any threads that were waiting
255 if ( state.value() == State._INACTIVE )
257 // set the state to HOLDING
258 state = State.HOLDING;
268 while ( state.value() == State._HOLDING && nInvocations > 0 ) {
295 if ( state.value() == State._INACTIVE )
298 // set the state to DISCARDING
299 state = State.DISCARDING;
304 // state was HOLDING. Those invocations will henceforth be rejected with
310 while ( state.value() == State._DISCARDING && nInvocations > 0 ) {
325 * Note: INACTIVE is a permanent state.
340 if ( state.value() == State._INACTIVE )
343 state = State.INACTIVE;
348 // state was HOLDING. Those invocations will then be rejected with
445 * state of the POAManager
449 return state;
477 while ( state.value() != State._ACTIVE ) {
478 switch ( state.value() ) {
480 while ( state.value() == State._HOLDING ) {
535 /** Activate the POAManager if no explicit state change has ever been