|
SQLFire 1.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FabricService
Base interface defining common peer services provided by FabricServer
and FabricLocator
.
Nested Class Summary | |
---|---|
static class |
FabricService.State
Status of the service enumerating different states the service can be in. |
Field Summary | |
---|---|
static int |
NETSERVER_DEFAULT_PORT
the default port for network server |
static String |
STOP_NETWORK_SERVERS
Shutdown boolean property to enable/disable shutting down of all network servers in stop(Properties) . |
Method Summary | |
---|---|
Collection<NetworkInterface> |
getAllNetworkServers()
Get a collection of all the NetworkInterface s started so far using
startNetworkServer(String, int, Properties) . |
NetworkInterface |
startNetworkServer(String bindAddress,
int port,
Properties networkProperties)
Start listening for network clients on a given host/port address. |
FabricService.State |
status()
Returns the status of this instance. |
void |
stop(Properties shutdownCredentials)
Disconnect current virtual machine from distributed system. |
void |
stopAllNetworkServers()
Stop all the NetworkInterface s started using
startNetworkServer(String, int, Properties) . |
Field Detail |
---|
static final int NETSERVER_DEFAULT_PORT
static final String STOP_NETWORK_SERVERS
stop(Properties)
. Default is true.
Method Detail |
---|
NetworkInterface startNetworkServer(String bindAddress, int port, Properties networkProperties) throws SQLException
bindAddress
- The host name or IP address to bind the network server. If this is
null then use the "bind-address" GemFire property and if found
listens only on that address, else binds to local loopback
address.port
- The port to bind the network server. A value <= 0 will cause this
to use the default port NETSERVER_DEFAULT_PORT
.networkProperties
- network server properties.
SQLException
void stopAllNetworkServers() throws SQLException
NetworkInterface
s started using
startNetworkServer(String, int, Properties)
.
SQLException
Collection<NetworkInterface> getAllNetworkServers()
NetworkInterface
s started so far using
startNetworkServer(String, int, Properties)
.
void stop(Properties shutdownCredentials) throws SQLException
shutdownCredentials
- Can optionally be null if Authentication is switched off,
otherwise system user authentication credentials with which this
instance was started.
SQLException
FabricService.State status()
|
SQLFire 1.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |