Package com.example.provider2_extension
Class Provider
java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
com.example.provider2_extension.Provider
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class Provider
extends com.google.common.util.concurrent.AbstractIdleService
Provider with a descriptor and state extension.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State -
Method Summary
Methods inherited from class com.google.common.util.concurrent.AbstractIdleService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString
-
Method Details
-
main
- Throws:
SocketExceptionUnknownHostException
-
startUp
- Specified by:
startUpin classcom.google.common.util.concurrent.AbstractIdleService- Throws:
Exception
-
shutDown
protected void shutDown()- Specified by:
shutDownin classcom.google.common.util.concurrent.AbstractIdleService
-