public class HibernateEventWriter extends Object implements EventWriter
| Modifier and Type | Field and Description | 
|---|---|
static String | 
LOG_MSG_DEST_DISPLAY_ONLY  | 
static String | 
LOG_MSG_DEST_DO_NOT_PERSIST  | 
static String | 
LOG_MSG_DEST_LOG_AND_DISPLAY  | 
static String | 
LOG_MSG_DEST_LOG_ONLY  | 
static String | 
LOG_MSG_DEST_SUPRRESS  | 
EVENT_ACKUSER_FIELD_SIZE, EVENT_AUTOACTION_FIELD_SIZE, EVENT_CORRELATION_FIELD_SIZE, EVENT_FORWARD_FIELD_SIZE, EVENT_HOST_FIELD_SIZE, EVENT_INTERFACE_FIELD_SIZE, EVENT_LOGGRP_FIELD_SIZE, EVENT_MOUSEOVERTEXT_FIELD_SIZE, EVENT_OPERACTION_FIELD_SIZE, EVENT_OPERACTION_MENU_FIELD_SIZE, EVENT_PATHOUTAGE_FIELD_SIZE, EVENT_SNMP_FIELD_SIZE, EVENT_SNMPHOST_FIELD_SIZE, EVENT_SOURCE_FIELD_SIZE, EVENT_TTICKET_FIELD_SIZE, EVENT_UEI_FIELD_SIZE, EVENT_X733_ALARMTYPE_SIZE, MSG_NO, MSG_YES| Constructor and Description | 
|---|
HibernateEventWriter(com.codahale.metrics.MetricRegistry registry)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
process(Log eventLog)  | 
void | 
process(Log eventLog,
       boolean synchronous)
Event writing is always synchronous so this method just 
 delegates to  
process(Log). | 
void | 
setTransactionManager(org.springframework.transaction.support.TransactionOperations transactionManager)  | 
public static final String LOG_MSG_DEST_DO_NOT_PERSIST
public static final String LOG_MSG_DEST_SUPRRESS
public static final String LOG_MSG_DEST_LOG_AND_DISPLAY
public static final String LOG_MSG_DEST_LOG_ONLY
public static final String LOG_MSG_DEST_DISPLAY_ONLY
public HibernateEventWriter(com.codahale.metrics.MetricRegistry registry)
public void process(Log eventLog, boolean synchronous) throws EventProcessorException
process(Log).process in interface EventProcessorEventProcessorExceptionpublic void process(Log eventLog) throws EventProcessorException
process in interface EventProcessorEventProcessorExceptionpublic void setTransactionManager(org.springframework.transaction.support.TransactionOperations transactionManager)
Copyright © 2021. All rights reserved.