MCPcopy Create free account
hub / github.com/LINBIT/linstor-server / SystemService

Interface SystemService

server/src/main/java/com/linbit/SystemService.java:8–35  ·  view source on GitHub ↗

Control interface for system services @author Robert Altnoeder <robert.altnoeder@linbit.com>

Source from the content-addressed store, hash-verified

6 * @author Robert Altnoeder <robert.altnoeder@linbit.com>
7 */
8public interface SystemService extends SystemServiceInfo
9{
10 /**
11 * Changes the service instance's name
12 */
13 void setServiceInstanceName(ServiceName instanceName);
14
15 /**
16 * Enables the service
17 */
18 void start() throws SystemServiceStartException;
19
20 /**
21 * Disables the service
22 *
23 * @param jvmShutdownRef <code>True</code> iff this shutdown was initiated by the shutdown hook or another
24 * source that should end in the end of the JVM relatively soon.
25 */
26 void shutdown(boolean jvmShutdownRef);
27
28 /**
29 * Waits until the service has shut down or the timeout is exceeded
30 *
31 * @param timeout Timeout for the operation in milliseconds
32 * @throws java.lang.InterruptedException If the timeout is exceeded
33 */
34 void awaitShutdown(long timeout) throws InterruptedException;
35}

Callers 20

createNetComServiceMethod · 0.65
executeMethod · 0.95
createNetComServiceMethod · 0.65
startMethod · 0.65
deleteNodeQueueMethod · 0.65
sendPrevSnapRequestMethod · 0.65
sendBackupRequestMethod · 0.65
sendRequestMethod · 0.65
deleteNetComServiceMethod · 0.95
executeMethod · 0.95
runDbExportImportMethod · 0.65

Implementers 14

EbsStatusManagerServicecontroller/src/main/java/com/linbit/li
GrizzlyHttpServicecontroller/src/main/java/com/linbit/li
ScheduleBackupServicecontroller/src/main/java/com/linbit/li
TaskScheduleServicecontroller/src/main/java/com/linbit/li
GenericTimerserver/src/main/java/com/linbit/timer/
FileSystemWatchserver/src/main/java/com/linbit/fseven
AbsBackupShippingServicesatellite/src/main/java/com/linbit/lin
DeviceManagerImplsatellite/src/main/java/com/linbit/lin
CloneServicesatellite/src/main/java/com/linbit/lin
DrbdEventServicesatellite/src/main/java/com/linbit/lin
DrbdEventPublishersatellite/src/main/java/com/linbit/lin
DbConnectionPoolcontroller/src/main/java/com/linbit/li

Calls

no outgoing calls

Tested by

no test coverage detected