@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
38 lines (37 loc) • 1.27 kB
TypeScript
import { ClusterMode, Parameter, ClusterRole } from "./index";
export interface ClusterSettingsInterface {
connectTimeout?: number;
mode?: ClusterMode;
name?: string;
nodeName?: string;
role?: ClusterRole;
secretKey?: string;
stopOnError?: boolean;
}
export declare class ClusterSettings implements ClusterSettingsInterface, Parameter {
connectTimeout?: number;
mode?: ClusterMode;
name?: string;
nodeName?: string;
role?: ClusterRole;
secretKey?: string;
stopOnError?: boolean;
constructor(data: any);
static getConnectTimeoutDefault(): number;
static getConnectTimeoutDescription(): string;
static getModeDefault(): ClusterMode;
static getModeDescription(): string;
static getNameDefault(): string;
static getNameDescription(): string;
static getNodeNameDefault(): string;
static getNodeNameDescription(): string;
static getRoleDefault(): ClusterRole;
static getRoleDescription(): string;
static getSecretKeyDefault(): string;
static getSecretKeyDescription(): string;
static getStopOnErrorDefault(): boolean;
static getStopOnErrorDescription(): string;
static fromJson(data: any): ClusterSettings;
toJson(): any;
clone(): ClusterSettings;
}