@Service public class HashesApiServiceImpl extends BaseSpringApiServiceImpl implements HashesApiDelegate
BaseSpringApiServiceImpl.MapMessageListenerDEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME| Constructor and Description |
|---|
HashesApiServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
deleteHash(String requestId)
Removes from the system an asynchronous hashing operation, terminating it
if it's still running.
|
org.springframework.http.ResponseEntity |
getAllHashes() |
org.springframework.http.ResponseEntity |
getHash(String requestId)
Provides the result of an asynchronous hashing operation.
|
org.springframework.http.ResponseEntity |
putHash(org.lockss.ws.entities.HasherWsParams hasherWsParams,
Boolean isAsynchronous) |
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getReadyWaitTime, getRunningLockssDaemon, getWaitTime, jmsSetUpDone, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, waitConfig, waitConfig, waitReady, waitReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptHeader, getObjectMapper, getRequestpublic org.springframework.http.ResponseEntity<String> deleteHash(String requestId)
deleteHash in interface HashesApiDelegaterequestId - A String with the identifier of the requested asynchronous
hashing operation.ResponseEntity<String> with the result of the removal of
the hashing operation.HashesApi.deleteHash(java.lang.String)public org.springframework.http.ResponseEntity getAllHashes()
getAllHashes in interface HashesApiDelegateHashesApi.getAllHashes()public org.springframework.http.ResponseEntity getHash(String requestId)
getHash in interface HashesApiDelegaterequestId - A String with the identifier of the requested asynchronous
hashing operation.ResponseEntity<MultiValueMap<String, Object>> with the
result of the hashing operation.HashesApi.getHash(java.lang.String)public org.springframework.http.ResponseEntity putHash(org.lockss.ws.entities.HasherWsParams hasherWsParams,
Boolean isAsynchronous)
putHash in interface HashesApiDelegateHashesApi.putHash(org.lockss.ws.entities.HasherWsParams, java.lang.Boolean)Copyright © 2000–2021 LOCKSS Program. All rights reserved.