Package org.serviceconnector.service
Class CascadedPublishService
java.lang.Object
org.serviceconnector.service.Service
org.serviceconnector.service.CascadedPublishService
- All Implemented Interfaces:
IPublishService
- Direct Known Subclasses:
CascadedCacheGuardian
The Class CascadedPublishService.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCascadedPublishService(String name, CascadedSC cascadedSC, int noDataIntervalSeconds) Instantiates a new cascaded publish service. -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(XMLDumpWriter writer) Dump the service into the xml writer.Gets the cascaded sc.Gets the cascaded client.Gets the subscription queue.intGets the no data interval seconds.voidRenew cascaded client.voidsetCascadedSC(CascadedSC cascadedSC) Sets the cascaded sc.
-
Field Details
-
cascadedSC
The cascaded sc.
-
-
Constructor Details
-
CascadedPublishService
Instantiates a new cascaded publish service.- Parameters:
name- the namecascadedSC- the cascaded scnoDataIntervalSeconds- the no data interval seconds
-
-
Method Details
-
getMessageQueue
Gets the subscription queue.- Specified by:
getMessageQueuein interfaceIPublishService- Returns:
- the subscription queue
-
setCascadedSC
Sets the cascaded sc.- Parameters:
cascadedSC- the new cascaded sc
-
getCascadedSC
Gets the cascaded sc.- Returns:
- the cascaded sc
-
getCascClient
Gets the cascaded client. Synchronization avoids returning the client in renew process.- Returns:
- the cascaded client
-
getNoDataIntervalSeconds
public int getNoDataIntervalSeconds()Gets the no data interval seconds.- Returns:
- the no data interval seconds
-
renewCascadedClient
public void renewCascadedClient()Renew cascaded client. Synchronization avoids returning the client in renew process. -
dump
Description copied from class:ServiceDump the service into the xml writer.
-