StreamManagementScope class abstract

StreamManagementScope is the interface for stream resource scopes.

Implemented types
Implementers

Constructors

StreamManagementScope.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
peerScope PeerScope
no setter
protocolScope ProtocolScope?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceScope ServiceScope?
no setter
stat ScopeStat
Stat retrieves current resource usage for the scope.
no setterinherited

Methods

beginSpan() Future<ResourceScopeSpan>
BeginSpan creates a new span scope rooted at this scope.
inherited
done() → void
Done ends the span and releases associated resources.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseMemory(int size) → void
ReleaseMemory explicitly releases memory previously reserved with ReserveMemory.
inherited
reserveMemory(int size, int priority) Future<void>
ReserveMemory reserves memory/buffer space in the scope; the unit is bytes.
inherited
setProtocol(ProtocolID protocol) Future<void>
setService(String service) Future<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited