You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
480 B
17 lines
480 B
1 month ago
|
/// <reference types="node" />
|
||
|
import { EventEmitter } from "events";
|
||
|
import ConnectionPool from "./ConnectionPool";
|
||
|
export default class ClusterSubscriber {
|
||
|
private connectionPool;
|
||
|
private emitter;
|
||
|
private started;
|
||
|
private subscriber;
|
||
|
private lastActiveSubscriber;
|
||
|
constructor(connectionPool: ConnectionPool, emitter: EventEmitter);
|
||
|
getInstance(): any;
|
||
|
start(): void;
|
||
|
stop(): void;
|
||
|
private onSubscriberEnd;
|
||
|
private selectSubscriber;
|
||
|
}
|