Package org.opennms.netmgt.dao.api
Interface EventdServiceManager
-
- All Known Implementing Classes:
EventdServiceManagerHibernate,JdbcEventdServiceManager
public interface EventdServiceManagerDeprecated.This is only used when usingJdbcEventWriterso 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 voiddataSourceSync()Deprecated.This is only used when usingJdbcEventWriterso when we remove the JDBC implementation, we can get rid of this class.intgetServiceId(String serviceName)Deprecated.This is only used when usingJdbcEventWriterso when we remove the JDBC implementation, we can get rid of this class.
-
-
-
Method Detail
-
getServiceId
int getServiceId(String serviceName) throws org.springframework.dao.DataAccessException
Deprecated.This is only used when usingJdbcEventWriterso 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- aStringobject.- 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 databaseorg.springframework.dao.DataAccessException- if any.
-
dataSourceSync
void dataSourceSync()
Deprecated.This is only used when usingJdbcEventWriterso 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.
-
-