public long getPausedChannelCount() {
        return channels.stream().filter(ch -> !ch.isWritable()).count();
    }
Gets the number of open channels currently in a paused state that are not writeable.
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/util/ServerGremlinExecutor.java