Package me.ahoo.cosid.machine
Interface MachineIdGuarder
- All Known Implementing Classes:
DefaultMachineIdGuarder
,MachineIdGuarder.None
@Beta
public interface MachineIdGuarder
MachineId Guarder .
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
register
(String namespace, InstanceId instanceId) void
start()
void
stop()
void
unregister
(String namespace, InstanceId instanceId)
-
Field Details
-
NONE
-
-
Method Details
-
register
-
unregister
-
start
void start() -
stop
void stop() -
isRunning
boolean isRunning()
-