|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.AbstractClient<T>
com.bigdata.service.AbstractScaleOutClient<T>
com.bigdata.service.EmbeddedClient<T>
public class EmbeddedClient<T>
A client for an embedded federation (the client and the data services all run in the same process).
EmbeddedFederation| Nested Class Summary | |
|---|---|
static interface |
EmbeddedClient.Options
Options for the embedded (in process) federation. |
| Nested classes/interfaces inherited from class com.bigdata.service.AbstractScaleOutClient |
|---|
AbstractScaleOutClient.MetadataIndexCachePolicy |
| Field Summary |
|---|
| Fields inherited from class com.bigdata.service.AbstractClient |
|---|
log |
| Constructor Summary | |
|---|---|
EmbeddedClient(Properties properties)
|
|
| Method Summary | |
|---|---|
EmbeddedFederation<T> |
connect()
Connect to a bigdata federation. |
void |
disconnect(boolean immediateShutdown)
Disconnect from the bigdata federation. |
IBigdataFederation<T> |
getFederation()
Return the connected federation, |
boolean |
isConnected()
Return true iff the client is connected to a federation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedClient(Properties properties)
properties - See EmbeddedFederation.Options.| Method Detail |
|---|
public boolean isConnected()
IBigdataClienttrue iff the client is connected to a federation.
public void disconnect(boolean immediateShutdown)
IBigdataClientNormal shutdown allows any existing client requests to federation services to complete but does not schedule new requests, and then terminates any background processing that is being performed on the behalf of the client (service discovery, etc).
Immediate shutdown terminates any client requests to federation services, and then terminate any background processing that is being performed on the behalf of the client (service discovery, etc).
Note: Immediate shutdown can cause odd exceptions to be logged. Normal shutdown is recommended unless there is a reason to force immediate shutdown.
immediateShutdown - When true an immediate shutdown will be
performed as described above. Otherwise a normal shutdown will
be performed.public IBigdataFederation<T> getFederation()
IBigdataClient
public EmbeddedFederation<T> connect()
IBigdataClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||