public class DefaultGatewaySink.DefaultGatewaySinkSource extends Object implements GatewaySinkSource
Constructor and Description |
---|
DefaultGatewaySinkSource(String sourceGatewayName) |
Modifier and Type | Method and Description |
---|---|
BootstrapResult |
bootstrapFromGatewayAndWait()
Bootstrap the local
Space which is associated to this sink
from a remote space. |
BootstrapResult |
bootstrapFromGatewayAndWait(long timeout,
TimeUnit timeUnit)
Bootstrap the local
Space which is associated to this sink
from a remote space. |
GatewaySink |
getSink()
Returns the sink this source is part of.
|
String |
getSourceGatewayName()
Returns the name of the remote gateway which this source acts as its end point.
|
public DefaultGatewaySinkSource(String sourceGatewayName)
public GatewaySink getSink()
GatewaySinkSource
getSink
in interface GatewaySinkSource
public String getSourceGatewayName()
GatewaySinkSource
getSourceGatewayName
in interface GatewaySinkSource
public BootstrapResult bootstrapFromGatewayAndWait()
GatewaySinkSource
Space
which is associated to this sink
from a remote space. This bootstrap request will use default timeout set by Admin.setDefaultTimeout(long, TimeUnit)
A bootstrap request can only be executed if this
sink GatewaySink.requiresBootstrapOnStartup()
.bootstrapFromGatewayAndWait
in interface GatewaySinkSource
public BootstrapResult bootstrapFromGatewayAndWait(long timeout, TimeUnit timeUnit)
GatewaySinkSource
Space
which is associated to this sink
from a remote space. This bootstrap request will use the provided timeout. A bootstrap
request can only be executed if this sink GatewaySink.requiresBootstrapOnStartup()
.bootstrapFromGatewayAndWait
in interface GatewaySinkSource
Copyright © GigaSpaces.