@Test public void assertIsLocalJobInstanceExisted() { when(jobNodeStorage.isJobNodeExisted("instances/127.0.0.1@-@0")).thenReturn(true); assertTrue(instanceService.isLocalJobInstanceExisted()); }
public boolean isLocalJobInstanceExisted() { return jobNodeStorage.isJobNodeExisted(instanceNode.getLocalInstanceNode()); }
InstanceService { public boolean isLocalJobInstanceExisted() { return jobNodeStorage.isJobNodeExisted(instanceNode.getLocalInstanceNode()); } }
InstanceService { public boolean isLocalJobInstanceExisted() { return jobNodeStorage.isJobNodeExisted(instanceNode.getLocalInstanceNode()); } InstanceService(final CoordinatorRegistryCenter regCenter, final String jobName); }
InstanceService { public boolean isLocalJobInstanceExisted() { return jobNodeStorage.isJobNodeExisted(instanceNode.getLocalInstanceNode()); } InstanceService(final CoordinatorRegistryCenter regCenter, final String jobName); void persistOnline(); void removeInstance(); void clearTriggerFlag(); List<JobInstance> getAvailableJobInstances(); boolean isLocalJobInstanceExisted(); }
InstanceService { public boolean isLocalJobInstanceExisted() { return jobNodeStorage.isJobNodeExisted(instanceNode.getLocalInstanceNode()); } InstanceService(final CoordinatorRegistryCenter regCenter, final String jobName); void persistOnline(); void removeInstance(); void clearTriggerFlag(); List<JobInstance> getAvailableJobInstances(); boolean isLocalJobInstanceExisted();  }