GigaSpaces XAP 9.7.2 API

org.openspaces.admin.gateway
Interface GatewaySinkSource


public interface GatewaySinkSource

A sink source is the target end point of a remote Gateway which is replicating into this gateway's sink.

Since:
8.0.4
Author:
eitany

Method Summary
 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.
 

Method Detail

getSink

GatewaySink getSink()
Returns the sink this source is part of.


getSourceGatewayName

String getSourceGatewayName()
Returns the name of the remote gateway which this source acts as its end point.


bootstrapFromGatewayAndWait

BootstrapResult bootstrapFromGatewayAndWait()
Bootstrap the local 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().

Returns:
A bootstrap result

bootstrapFromGatewayAndWait

BootstrapResult bootstrapFromGatewayAndWait(long timeout,
                                            TimeUnit timeUnit)
Bootstrap the local 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().

Returns:
A bootstrap result

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.