CryptographyChannelQueue class
Waiting group used for preventing copying too much data to a channel such as compute channel or MethodChannel.
This should reduce risk of memory exhaustion.
Constructors
- CryptographyChannelQueue({required int maxConcurrentSize, required int maxConcurrentRequests})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxConcurrentRequests → int
-
Maximum number of concurrent requests.
final
- maxConcurrentSize → int
-
Maximum total size of all concurrent requests.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalRequests → int
-
no setter
- totalSize → int
-
no setter
Methods
-
newLock(
{required int size}) → CryptographyChannelCall -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultInstance → CryptographyChannelQueue
-
Default queue in this platform.
final
Static Methods
-
estimateSize(
Object? value, {int maxDepth = 5}) → int