public class AuditLog
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
HeaderSet |
getTransactionHeaders(java.lang.String txnID)
This will return the HeaderSet that was used when invoking the transaction
with the given identifier.
|
java.io.InputStream |
getTransactionInput(java.lang.String txnID)
This will return the stream of bytes that were used as input for the
operation associated with the given transaction ID.
|
java.io.InputStream |
getTransactionOutput(java.lang.String txnID)
This will return the stream of bytes that were generated as output
from the operation associated with the given transaction ID.
|
long |
getTransactionTime(java.lang.String txnID)
This will return the 64 bit value representing the date/time that the
request with the given identifier occurred.
|
void |
listTransactionsIDs(java.lang.String objectID,
java.lang.String operationID,
java.lang.String callerID,
long gmtStartTime,
long gmtEndTime,
java.io.Writer txnWriter)
This will write a \n-delimited list of transaction IDs for which the given
operation was performed on the given object.
|
StreamPair |
recordOperation(HeaderSet requestHeaders,
java.io.InputStream in,
java.io.OutputStream out)
This initiates logging of the operation specified in the given requestHeaders,
along with the bytes sent over the input and output streams.
|
public StreamPair recordOperation(HeaderSet requestHeaders, java.io.InputStream in, java.io.OutputStream out) throws DOException
DOException
public void listTransactionsIDs(java.lang.String objectID, java.lang.String operationID, java.lang.String callerID, long gmtStartTime, long gmtEndTime, java.io.Writer txnWriter) throws java.lang.Exception
java.lang.Exception
public HeaderSet getTransactionHeaders(java.lang.String txnID) throws java.lang.Exception
java.lang.Exception
public long getTransactionTime(java.lang.String txnID) throws java.lang.Exception
java.lang.Exception
public java.io.InputStream getTransactionInput(java.lang.String txnID) throws java.lang.Exception
java.lang.Exception
public java.io.InputStream getTransactionOutput(java.lang.String txnID) throws java.lang.Exception
java.lang.Exception