returns the executor that will be used to run this service.subclasses may override this method to use a custom executor , which may configure its worker thread with a specific name , thread group or priority . the returned executor 's executor #execute runnable execute method is called when this service is started , and should returnpromptly . the default implementation returns a new executor that sets the name of its threads to the string returned by #getservicename concode_field_sep Service delegate concode_elem_sep Logger logger concode_field_sep void doStop concode_elem_sep ListenableFuture<State> start concode_elem_sep String getServiceName concode_elem_sep void run concode_elem_sep State stopAndWait concode_elem_sep void triggerShutdown concode_elem_sep void shutDown concode_elem_sep State startAndWait concode_elem_sep ListenableFuture<State> stop concode_elem_sep boolean isRunning concode_elem_sep void startUp concode_elem_sep void doStart concode_elem_sep String toString concode_elem_sep State state
Executor function ( ) { return new Executor ( ) { @ Override public void execute ( Runnable arg0 ) { new Thread ( arg0 , getServiceName ( ) ) . start ( ) ; } } ; }