Class MachineProperties
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPort()
boolean
void
setClockBackwards
(MachineProperties.ClockBackwards clockBackwards) void
setDistributor
(MachineProperties.Distributor distributor) void
setEnabled
(boolean enabled) setGuarder
(MachineProperties.Guarder guarder) void
setInstanceId
(String instanceId) void
setMachineBit
(int machineBit) void
void
void
setStateStorage
(MachineProperties.StateStorage stateStorage)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
MachineProperties
public MachineProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getStable
-
setStable
-
getPort
-
setPort
-
getInstanceId
-
setInstanceId
-
getMachineBit
public int getMachineBit() -
setMachineBit
public void setMachineBit(int machineBit) -
getStateStorage
-
setStateStorage
-
getDistributor
-
setDistributor
-
getGuarder
-
setGuarder
-
getClockBackwards
-
setClockBackwards
-
getSafeGuardDuration
-