org.opennms.netmgt.eventd
Interface EventdServiceManager

All Known Implementing Classes:
DaoEventdServiceManager, JdbcEventdServiceManager

public interface EventdServiceManager

EventdServiceManager interface.

Version:
$Id: $
Author:
ranger

Method Summary
 void dataSourceSync()
          Synchronize the in-memory cache with the service table in the database.
 int getServiceId(String serviceName)
          Lookup the service ID for a specific service by name.
 

Method Detail

getServiceId

int getServiceId(String serviceName)
                 throws org.springframework.dao.DataAccessException
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()
Synchronize the in-memory cache with the service table in the database.



Copyright © 2011. All Rights Reserved.