Interface EventdServiceManager

  • All Known Implementing Classes:
    EventdServiceManagerHibernate, JdbcEventdServiceManager

    public interface EventdServiceManager
    Deprecated.
    This is only used when using JdbcEventWriter so when we remove the JDBC implementation, we can get rid of this class.

    EventdServiceManager interface.

    Version:
    $Id: $
    Author:
    ranger
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void dataSourceSync()
      Deprecated.
      This is only used when using JdbcEventWriter so when we remove the JDBC implementation, we can get rid of this class.
      int getServiceId​(java.lang.String serviceName)
      Deprecated.
      This is only used when using JdbcEventWriter so when we remove the JDBC implementation, we can get rid of this class.
    • Method Detail

      • getServiceId

        int getServiceId​(java.lang.String serviceName)
                  throws org.springframework.dao.DataAccessException
        Deprecated.
        This is only used when using JdbcEventWriter so when we remove the JDBC implementation, we can get rid of this class.
        Lookup the service ID for a specific service by name.
        Parameters:
        serviceName - a String object.
        Returns:
        service ID for the given service name or -1 if not found
        Throws:
        org.springframework.dao.DataAccessException - if there is an error accessing the database
        org.springframework.dao.DataAccessException - if any.
      • dataSourceSync

        void dataSourceSync()
        Deprecated.
        This is only used when using JdbcEventWriter so when we remove the JDBC implementation, we can get rid of this class.
        Synchronize the in-memory cache with the service table in the database.