Package | Description |
---|---|
brown.tracingplane.impl |
Implementations of
BaggageContext at several different points in the Tracing Plane. |
Modifier and Type | Method and Description |
---|---|
BDLContext |
BDLContext.attach(java.lang.Object key,
java.lang.Object value)
Maps the provided key to the provided value.
|
BDLContext |
BDLContextProvider.branch(BDLContext from) |
BDLContext |
BDLContextProvider.compact(BDLContext left,
BDLContext right)
Additional operation provided by
BDLContext to compact a context. |
BDLContext |
BDLContextProvider.deserialize(byte[] serialized,
int offset,
int length) |
BDLContext |
BDLContextProvider.deserialize(java.nio.ByteBuffer buf) |
BDLContext |
BDLContext.detach(java.lang.Object key)
Removes the object mapped to the specified key.
|
BDLContext |
BDLContextProvider.join(BDLContext left,
BDLContext right) |
BDLContext |
BDLContextProvider.newInstance() |
BDLContext |
BDLContext.put(BagKey key,
Bag value)
Set the value for a key.
|
BDLContext |
BDLContext.remove(BagKey key)
Remove the mapping for the specified key.
|
Modifier and Type | Method and Description |
---|---|
BDLContext |
BDLContextProvider.branch(BDLContext from) |
BDLContext |
BDLContextProvider.compact(BDLContext left,
BDLContext right)
Additional operation provided by
BDLContext to compact a context. |
void |
BDLContextProvider.discard(BDLContext baggage) |
static java.util.Map<java.lang.String,java.lang.String> |
BDLContextUtils.getSizeSummary(BDLContext instance) |
BDLContext |
BDLContextProvider.join(BDLContext left,
BDLContext right) |
byte[] |
BDLContextProvider.serialize(BDLContext baggage) |
byte[] |
BDLContextProvider.serialize(BDLContext baggage,
int maximumSerializedSize) |
Modifier and Type | Method and Description |
---|---|
void |
BDLContextProvider.addListener(BaggageListener.BranchListener<BDLContext> listener)
Registers a
BaggageListener.BranchListener that will be invoked any time BDLContextProvider.branch(BDLContext) is
invoked. |
void |
BDLContextProvider.addListener(BaggageListener.JoinListener<BDLContext> listener)
Registers a
BaggageListener.JoinListener that will be invoked any time
BDLContextProvider.join(BDLContext, BDLContext) is invoked. |