public class ExtendingHAService extends Object implements KSIExtendingService
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendingHAService.Builder
Builds the
ExtendingHAService. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all the subservices.
|
Future<ExtensionResponse> |
extend(Date aggregationTime,
Date publicationTime)
Creates a non-blocking extending request.
|
Future<ExtenderConfiguration> |
getExtendingConfiguration()
Invokes a configuration for all the subservices.
|
List<KSIExtendingService> |
getSubExtendingServices() |
void |
registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
Registers configuration listeners that will be called if this
ExtendingHAService's configuration changes. |
public Future<ExtensionResponse> extend(Date aggregationTime, Date publicationTime) throws com.guardtime.ksi.exceptions.KSIException
extend in interface KSIExtendingServicecom.guardtime.ksi.exceptions.KSIExceptionKSIExtendingService.extend(Date, Date)public List<KSIExtendingService> getSubExtendingServices()
getSubExtendingServices in interface KSIExtendingServicepublic void registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
ExtendingHAService's configuration changes. They will not be
called if subservice's configuration changes in a way that does not change the consolidated configuration. To get detailed
info about subservices' configurations one should register their own listeners directly on subservices. Listener will
be called instantaneously once with the latest consolidation result as part of the registration if the latest result is
not null.registerExtenderConfigurationListener in interface KSIExtendingServicelistener - may not be null.public Future<ExtenderConfiguration> getExtendingConfiguration()
getExtendingConfiguration in interface KSIExtendingServicepublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2022 Guardtime. All rights reserved.