コード例 #1
0
 /** Default constructor. */
 public TaskTriggerService() {
   super(State.class);
   super.toggleOption(ServiceOption.INSTRUMENTATION, true);
   super.toggleOption(ServiceOption.PERIODIC_MAINTENANCE, true);
   super.toggleOption(ServiceOption.PERSISTENCE, true);
   super.setMaintenanceIntervalMicros(
       TimeUnit.MILLISECONDS.toMicros(DEFAULT_MAINTENANCE_INTERVAL_MILLIS));
 }
コード例 #2
0
ファイル: BankAccountService.java プロジェクト: RobbieJ/xenon
 public BankAccountService() {
   super(BankAccountServiceState.class);
   super.toggleOption(ServiceOption.PERSISTENCE, true);
   super.toggleOption(ServiceOption.REPLICATION, true);
   super.toggleOption(ServiceOption.OWNER_SELECTION, true);
 }
コード例 #3
0
 public ContainerService() {
   super(State.class);
   super.toggleOption(ServiceOption.OWNER_SELECTION, true);
   super.toggleOption(ServiceOption.PERSISTENCE, true);
   super.toggleOption(ServiceOption.REPLICATION, true);
 }
コード例 #4
0
 public CreateTenantTaskService() {
   super(State.class);
   super.toggleOption(ServiceOption.OWNER_SELECTION, true);
   super.toggleOption(ServiceOption.PERSISTENCE, true);
   super.toggleOption(ServiceOption.REPLICATION, true);
 }