@Service public class HasherServiceImpl extends BaseServiceImpl implements HasherService
BaseSpringApiServiceImpl.MapMessageListenerconnectionTimeout, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT, DEFAULT_REPO_NAMESPACE, PARAM_CONNECTION_TIMEOUT, PARAM_READ_TIMEOUT, PARAM_REPO_NAMESPACE, PREFIX, readTimeout, repoNamespace, restTemplateDEFAULT_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 |
|---|
HasherServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<HasherWsAsynchronousResult> |
getAllAsynchronousHashResults()
Provides the results of all the asynchronous hashing operations.
|
HasherWsAsynchronousResult |
getAsynchronousHashResult(String requestId)
Provides the result of an asynchronous hashing operation.
|
HasherWsResult |
hash(HasherWsParams wsParams)
Performs the hashing of an AU or a URL.
|
HasherWsAsynchronousResult |
hashAsynchronously(HasherWsParams wsParams)
Performs asynchronously the hashing of an AU or a URL.
|
HasherWsAsynchronousResult |
removeAsynchronousHashRequest(String requestId)
Removes from the system an asynchronous hashing operation, terminating it if it's still
running.
|
callRestServiceEndpoint, callRestServiceUri, callRestServiceUri, getAuthHeaders, getConnectionTimeout, getMultipartResponse, getReadTimeout, getRequestorIpAddress, getRestLockssRepository, getServiceBinding, getServiceEndpoint, getSoapRequestAuthorizationHeader, getSoapRequestCredentials, separatedString, setConfigconfigMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReadypublic HasherWsResult hash(HasherWsParams wsParams) throws LockssWebServicesFault
hash in interface HasherServicewsParams - A HasherWsParams with the parameters of the hashing operation.LockssWebServicesFault - if there are problems.public HasherWsAsynchronousResult hashAsynchronously(HasherWsParams wsParams) throws LockssWebServicesFault
hashAsynchronously in interface HasherServicewsParams - A HasherWsParams with the parameters of the hashing operation.LockssWebServicesFault - if there are problems.public HasherWsAsynchronousResult getAsynchronousHashResult(String requestId) throws LockssWebServicesFault
getAsynchronousHashResult in interface HasherServicerequestId - A String with the identifier of the requested asynchronous hashing operation.LockssWebServicesFault - if there are problems.public List<HasherWsAsynchronousResult> getAllAsynchronousHashResults() throws LockssWebServicesFault
getAllAsynchronousHashResults in interface HasherServiceList<HasherWsAsynchronousResult> with the results of the hashing operations.LockssWebServicesFault - if there are problems.public HasherWsAsynchronousResult removeAsynchronousHashRequest(String requestId) throws LockssWebServicesFault
removeAsynchronousHashRequest in interface HasherServicerequestId - A String with the identifier of the requested asynchronous hashing operation.LockssWebServicesFault - if there are problems.Copyright © 2000–2023 LOCKSS Program. All rights reserved.