/** * Called by the {@link DriverConductor} to determine if the channel endpoint should be closed. * * @return true if ready to be closed. */ public boolean shouldBeClosed() { return 0 == refCount && !statusIndicator.isClosed(); }
public void close() { if (!heartbeatStatus.isClosed()) { heartbeatStatus.close(); } }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }
public boolean shouldBeClosed() { return refCountByStreamIdMap.isEmpty() && refCountByStreamIdAndSessionIdMap.isEmpty() && !statusIndicator.isClosed(); }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }
/** * Called by the {@link DriverConductor} to determine if the channel endpoint should be closed. * * @return true if ready to be closed. */ public boolean shouldBeClosed() { return 0 == refCount && !statusIndicator.isClosed(); }
/** * Called by the {@link DriverConductor} to determine if the channel endpoint should be closed. * * @return true if ready to be closed. */ public boolean shouldBeClosed() { return 0 == refCount && !statusIndicator.isClosed(); }
public void close() { if (!heartbeatStatus.isClosed()) { heartbeatStatus.close(); } }
public void close() { if (!heartbeatStatus.isClosed()) { heartbeatStatus.close(); } }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }
public boolean shouldBeClosed() { return refCountByStreamIdMap.isEmpty() && refCountByStreamIdAndSessionIdMap.isEmpty() && !statusIndicator.isClosed(); }
public boolean shouldBeClosed() { return refCountByStreamIdMap.isEmpty() && refCountByStreamIdAndSessionIdMap.isEmpty() && !statusIndicator.isClosed(); }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }
public void closeStatusIndicator() { if (!statusIndicator.isClosed()) { statusIndicator.setOrdered(ChannelEndpointStatus.CLOSING); statusIndicator.close(); } }