class Concurrent::JavaExecutorService

def ns_shuttingdown?

def ns_shuttingdown?
  @executor.isShutdown && !@executor.isTerminated
end