Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) AddAfterShutdownHandler(handler func(ctx context.Context))
- func (c *Client) AddBeforeShutdownHandler(handler func(ctx context.Context))
- func (c *Client) Name() string
- func (c *Client) Shutdown(ctx context.Context) error
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) State() int32
- type Config
Constants ¶
View Source
const ( Created int32 = iota Starting Ready Stopping Stopped )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { InvocationHandler invocation.Handler Logger ilogger.LogAdaptor ConnectionManager *icluster.ConnectionManager ViewListenerService *icluster.ViewListenerService InvocationService *invocation.Service InvocationFactory *icluster.ConnectionInvocationFactory SerializationService *serialization.Service EventDispatcher *event.DispatchService StatsService *stats.Service PartitionService *icluster.PartitionService ClusterService *icluster.Service // contains filtered or unexported fields }
func (*Client) AddAfterShutdownHandler ¶ added in v1.3.1
func (*Client) AddBeforeShutdownHandler ¶ added in v1.3.1
func (*Client) Name ¶
Name returns client's name. Use config.Name to set the client name. If not set manually, an automatically generated name is used.
Click to show internal directories.
Click to hide internal directories.