public class MutableTraceAttributes extends TraceAttributes
TraceAttributes.Entryvalues| Constructor and Description |
|---|
MutableTraceAttributes()
Create a TraceAttributes with all values set to null.
|
MutableTraceAttributes(ImmutableTraceAttributes immutableTraceAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(TraceKey key,
java.lang.String value)
Modifies the trace attributes value corresponding to the key
and also,
If key is not OracleTraceKey.SQL then both cached attributes
are set to null.
|
ImmutableTraceAttributes |
toReadOnly() |
ImmutableTraceAttributes |
toReadOnlyWithoutKey(OracleTraceKey key) |
get, iteratorpublic MutableTraceAttributes()
public MutableTraceAttributes(ImmutableTraceAttributes immutableTraceAttributes)
public void set(TraceKey key, java.lang.String value)
key - key corresponding to the value to be modifiedvalue - the new valuepublic ImmutableTraceAttributes toReadOnly()
toReadOnly in class TraceAttributespublic ImmutableTraceAttributes toReadOnlyWithoutKey(OracleTraceKey key)