com.metamatrix.server.dqp.service.tracker
Class TransactionLogWriter
java.lang.Object
com.metamatrix.server.dqp.service.tracker.TransactionLogWriter
public class TransactionLogWriter
- extends java.lang.Object
Constructor Summary |
TransactionLogWriter(java.util.Properties props)
Initialize this destination with the specified properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSACTION_LOG_STATEMENT
public static final java.lang.String TRANSACTION_LOG_STATEMENT
- See Also:
- Constant Field Values
MMX_COMMAND_LOG_STATEMENT
public static final java.lang.String MMX_COMMAND_LOG_STATEMENT
- See Also:
- Constant Field Values
SQL_LOG_STATEMENT
public static final java.lang.String SQL_LOG_STATEMENT
- See Also:
- Constant Field Values
SRC_COMMAND_LOG_STATEMENT
public static final java.lang.String SRC_COMMAND_LOG_STATEMENT
- See Also:
- Constant Field Values
DEFAULT_MAX_VDB_NAME_LENGTH
public static final int DEFAULT_MAX_VDB_NAME_LENGTH
- See Also:
- Constant Field Values
DEFAULT_MAX_VDB_VERSION_LENGTH
public static final int DEFAULT_MAX_VDB_VERSION_LENGTH
- See Also:
- Constant Field Values
DEFAULT_MAX_CNCTR_NAME_LENGTH
public static final int DEFAULT_MAX_CNCTR_NAME_LENGTH
- See Also:
- Constant Field Values
DEFAULT_MAX_MDL_NAME_LENGTH
public static final int DEFAULT_MAX_MDL_NAME_LENGTH
- See Also:
- Constant Field Values
DEFAULT_MAX_SQL_LENGTH
public static final int DEFAULT_MAX_SQL_LENGTH
- See Also:
- Constant Field Values
TransactionLogWriter
public TransactionLogWriter(java.util.Properties props)
- Initialize this destination with the specified properties.
- Parameters:
props
- the properties that this destination should use to
initialize itself.
- Throws:
LogDestinationInitFailedException
- if there was an error during
initialization.
print
public void print(TransactionLogMessage message)
shutdown
public void shutdown()
truncString
public static java.lang.String truncString(java.lang.String in,
int len)
- Simple static method to tuncate Strings to given length.
- Parameters:
in
- the string that may need tuncating.len
- the lenght that the string should be truncated to.
- Returns:
- a new String containing chars with length <= len or
null
if input String is null
.
Copyright © 2009. All Rights Reserved.