Uses of Class
com.google.common.base.Service.State

Packages that use Service.State
com.google.common.base Basic utility libraries and interfaces. 
 

Uses of Service.State in com.google.common.base
 

Methods in com.google.common.base that return Service.State
 Service.State Service.startAndWait()
          Initiates service startup (if necessary), returning once the service has finished starting.
 Service.State Service.state()
          Returns the lifecycle state of the service.
 Service.State Service.stopAndWait()
          Initiates service shutdown (if necessary), returning once the service has finished stopping.
static Service.State Service.State.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Service.State[] Service.State.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.google.common.base that return types with arguments of type Service.State
 java.util.concurrent.Future<Service.State> Service.start()
          If the service state is NEW, this initiates service startup and returns immediately.
 java.util.concurrent.Future<Service.State> Service.stop()
          If the service is STARTING or RUNNING, this initiates service shutdown and returns immediately.
 



Copyright © 2010 Google. All Rights Reserved.