public class NodeRouterPool extends Object
Created by zlokhandwala on 2/20/18.
Modifier and Type | Method and Description |
---|---|
IClientRouter |
getRouter(NodeLocator endpoint)
Fetches a router from the pool if already present.
|
void |
shutdown()
Shutdown all the routers in the pool.
|
public IClientRouter getRouter(NodeLocator endpoint)
endpoint
- Endpoint to connect the router.public void shutdown()
Copyright © 2019 CorfuDB. All rights reserved.