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