コード例 #1
0
 @Override
 public ServiceConfiguration newInstance() {
   ComponentId compId = this.getComponentId();
   return ServiceConfigurations.createEphemeral(compId);
 }
コード例 #2
0
 @Override
 public ServiceConfiguration newInstance(
     String partition, String name, String host, Integer port) {
   ComponentId compId = this.getComponentId();
   return ServiceConfigurations.createEphemeral(compId);
 }