org.opennms.netmgt.eventd
Interface EventdServiceManager

All Known Implementing Classes:
DaoEventdServiceManager, JdbcEventdServiceManager

public interface EventdServiceManager


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:
name - service name to lookup
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

dataSourceSync

void dataSourceSync()
Synchronize the in-memory cache with the service table in the database.



Copyright © 2009. All Rights Reserved.