IShardingPlugin class abstract

A plugin that can be used in spawned processes to allow communication between processes.

Constructors

IShardingPlugin()
Create a new instance of the sharding plugin.
factory

Properties

events Stream<String>
A stream of events received on this process.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

broadcast(String message) → void
Sends a message to all other child processes, excluding this one.
getCachedChannels() Future<List<int>>
Fetches the cached channels count from all processes.
inherited
getCachedGuilds() Future<List<int>>
Fetches the cached guilds count from all processes.
inherited
getCachedMembers() Future<List<int>>
Fetches the cached members count from all processes.
inherited
getCachedUsers() Future<List<int>>
Fetches the cached users count from all processes.
inherited
getCurrentRss() Future<List<int>>
Fetches the current RSS from all processes.
inherited
getMaxRss() Future<List<int>>
Fetches the maximum RSS count from all processes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBotStart(INyxx nyxx, Logger logger) FutureOr<void>
inherited
onBotStop(INyxx nyxx, Logger logger) FutureOr<void>
inherited
onRegister(INyxx nyxx, Logger logger) FutureOr<void>
inherited
sendManager(String message) → void
Sends a message to the manager process.
toString() String
A string representation of this object.
inherited

Operators

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