boolean function ( long arg0 ) { State loc0 = associatedSessions . get ( arg0 ) ; if ( null != loc0 && loc0 == State . ACTIVE ) { associatedSessions . put ( arg0 , State . SUSPENDED ) ; return true ; } else { return false ; } }
suspend a associated active session concode_field_sep DtxRegistry dtxRegistry concode_elem_sep Map<Long,State> associatedSessions concode_elem_sep ArrayList<AndesMessage> enqueueList concode_elem_sep List<AndesAckData> dequeueList concode_elem_sep long timeout concode_elem_sep Logger LOGGER concode_elem_sep Xid xid concode_elem_sep long createdSessionId concode_elem_sep InboundEventManager eventManager concode_elem_sep DisruptorEventCallback callback concode_elem_sep long internalXid concode_elem_sep int NULL_XID concode_elem_sep ScheduledFuture<?> timeoutFuture concode_elem_sep State state concode_elem_sep long _expiration concode_elem_sep Andes andesApi concode_field_sep void prepare concode_elem_sep void clearEnqueueList concode_elem_sep void commit concode_elem_sep void enqueueMessages concode_elem_sep void dequeueMessages concode_elem_sep void cancelTimeoutTaskIfExists concode_elem_sep List<AndesAckData> getDequeueList concode_elem_sep boolean isAssociated concode_elem_sep long getCreatedSessionId concode_elem_sep boolean expired concode_elem_sep Xid getXid concode_elem_sep boolean disassociateSession concode_elem_sep boolean resumeSession concode_elem_sep void rollback concode_elem_sep void updateState concode_elem_sep boolean hasAssociatedActiveSessions concode_elem_sep boolean associateSession concode_elem_sep void enqueueMessage concode_elem_sep long getInternalXid concode_elem_sep String eventInfo concode_elem_sep void setTimeout concode_elem_sep State getState concode_elem_sep void clearAssociations concode_elem_sep boolean hasAssociatedSessions concode_elem_sep void setState concode_elem_sep ArrayList<AndesMessage> getEnqueueList