public class MutableTraceAttributes extends TraceAttributes
TraceAttributes.Entry
values
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, iterator
public 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 TraceAttributes
public ImmutableTraceAttributes toReadOnlyWithoutKey(OracleTraceKey key)