コード例 #1
0
 @Override
 public boolean shouldSyncWhenTimestampDiffers() {
   return configInstance.getBooleanProperty(namespace + "syncWhenTimestampDiffers", true).get();
 }
コード例 #2
0
 @Override
 public boolean shouldDisableDelta() {
   return configInstance.getBooleanProperty(namespace + "disableDelta", false).get();
 }
コード例 #3
0
 @Override
 public boolean shouldRetryIndefinitelyToReplicateStatus() {
   return configInstance
       .getBooleanProperty(namespace + "retryIndefinitelyToReplicateStatus", true)
       .get();
 }
コード例 #4
0
 @Override
 public boolean shouldReplicateOnlyIfUP() {
   return configInstance.getBooleanProperty(namespace + "replicateOnlyIfUP", true).get();
 }
コード例 #5
0
 /*
  * (non-Javadoc)
  * @see com.netflix.eureka.EurekaServerConfig#shouldEnableSelfPreservation()
  */
 @Override
 public boolean shouldEnableSelfPreservation() {
   return configInstance.getBooleanProperty(namespace + "enableSelfPreservation", true).get();
 }
コード例 #6
0
 private void initCloudInstanceConfig(String namespace) {
   propValidateInstanceId = INSTANCE.getBooleanProperty(namespace + "validateInstanceId", true);
   info = initDataCenterInfo();
 }