Package org.apache.pinot.server.api
Class AdminApiApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.glassfish.jersey.server.ResourceConfig
-
- org.apache.pinot.server.api.AdminApiApplication
-
- All Implemented Interfaces:
javax.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>,javax.ws.rs.core.Configuration,org.glassfish.jersey.ExtendedConfig,org.glassfish.jersey.server.ServerConfig
public class AdminApiApplication extends org.glassfish.jersey.server.ResourceConfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringPINOT_CONFIGURATIONstatic StringRESOURCE_PACKAGEstatic StringSERVER_INSTANCE_ID
-
Constructor Summary
Constructors Constructor Description AdminApiApplication(ServerInstance instance, AccessControlFactory accessControlFactory, PinotConfiguration serverConf)
-
Method Summary
Modifier and Type Method Description booleanstart(List<ListenerConfig> listenerConfigs)voidstartShuttingDown()Starts shutting down the HTTP server, which rejects all requests except for the liveness check.voidstop()Stops the HTTP server.-
Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
-
-
-
Field Detail
-
PINOT_CONFIGURATION
public static final String PINOT_CONFIGURATION
- See Also:
- Constant Field Values
-
RESOURCE_PACKAGE
public static final String RESOURCE_PACKAGE
- See Also:
- Constant Field Values
-
SERVER_INSTANCE_ID
public static final String SERVER_INSTANCE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdminApiApplication
public AdminApiApplication(ServerInstance instance, AccessControlFactory accessControlFactory, PinotConfiguration serverConf)
-
-
Method Detail
-
start
public boolean start(List<ListenerConfig> listenerConfigs)
-
startShuttingDown
public void startShuttingDown()
Starts shutting down the HTTP server, which rejects all requests except for the liveness check.
-
stop
public void stop()
Stops the HTTP server.
-
-