GetStateMachine returns the connection's state machine for advanced state management. This is primarily used by internal packages like maintnotifications for handoff processing.
()
| 789 | // GetStateMachine returns the connection's state machine for advanced state management. |
| 790 | // This is primarily used by internal packages like maintnotifications for handoff processing. |
| 791 | func (cn *Conn) GetStateMachine() *ConnStateMachine { |
| 792 | return cn.stateMachine |
| 793 | } |
| 794 | |
| 795 | // TryAcquire attempts to acquire the connection for use. |
| 796 | // This is an optimized inline method for the hot path (Get operation). |
no outgoing calls