Class CommandRemoteRepository
java.lang.Object
com.gsitm.ustra.java.batch.data.repository.CommandRemoteRepository
- All Implemented Interfaces:
CommandRepository
커맨드 저장소
-
Constructor Summary
ConstructorsConstructorDescriptionCommandRemoteRepository(org.springframework.web.client.RestTemplate restTemplate) -
Method Summary
-
Constructor Details
-
CommandRemoteRepository
public CommandRemoteRepository(org.springframework.web.client.RestTemplate restTemplate)
-
-
Method Details
-
poll
매니저에서 커맨드를 조회한다.- Specified by:
pollin interfaceCommandRepository- Parameters:
worker-- Returns:
-
find
- Specified by:
findin interfaceCommandRepository
-
register
- Specified by:
registerin interfaceCommandRepository
-
delete
- Specified by:
deletein interfaceCommandRepository
-