Class CascadedPublishService

java.lang.Object
org.serviceconnector.service.Service
org.serviceconnector.service.CascadedPublishService
All Implemented Interfaces:
IPublishService
Direct Known Subclasses:
CascadedCacheGuardian

public class CascadedPublishService extends Service implements IPublishService
The Class CascadedPublishService.
  • Field Details

    • cascadedSC

      protected CascadedSC cascadedSC
      The cascaded sc.
  • Constructor Details

    • CascadedPublishService

      public CascadedPublishService(String name, CascadedSC cascadedSC, int noDataIntervalSeconds)
      Instantiates a new cascaded publish service.
      Parameters:
      name - the name
      cascadedSC - the cascaded sc
      noDataIntervalSeconds - the no data interval seconds
  • Method Details

    • getMessageQueue

      public PublishMessageQueue<SCMPMessage> getMessageQueue()
      Gets the subscription queue.
      Specified by:
      getMessageQueue in interface IPublishService
      Returns:
      the subscription queue
    • setCascadedSC

      public void setCascadedSC(CascadedSC cascadedSC)
      Sets the cascaded sc.
      Parameters:
      cascadedSC - the new cascaded sc
    • getCascadedSC

      public CascadedSC getCascadedSC()
      Gets the cascaded sc.
      Returns:
      the cascaded sc
    • getCascClient

      public CascadedClient 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

      public void dump(XMLDumpWriter writer) throws Exception
      Description copied from class: Service
      Dump the service into the xml writer.
      Specified by:
      dump in class Service
      Parameters:
      writer - the writer
      Throws:
      Exception - the exception