Class ThreadManager

java.lang.Object
fr.gouv.vitam.common.server.application.ThreadManager

public class ThreadManager extends Object
ThreadManager class to manage all request in and out
  • Constructor Details

    • ThreadManager

      public ThreadManager()
  • Method Details

    • addRequest

      public void addRequest(javax.ws.rs.core.MultivaluedMap<String,String> headers)
      add Request-Id in list
      Parameters:
      headers -
    • removeRequest

      public void removeRequest()
      remove request-id
    • shutdownAndWait

      public void shutdownAndWait()
      Before stopping server, we need to wait all request to be finished