public abstract class AbstractEmbeddedControl<PgxConfigType extends AbstractEngineConfig>
extends oracle.pgx.api.admin.AbstractControl
ALL_PATHS_PROXY_MAP_KEY, COLLECTION_PROXY_MAP_KEY, COMPONENTS_PROXY_MAP_KEY, FUTURE_MAP_KEY, KEYSTORE_PATH_SYSTEM_PROPERTY, KEYSTORE_SECRET_SYSTEM_PROPERTY, MAP_PROXY_MAP_KEY, PGQL_RESULTS_KEY, PGX_CONFIG_FILE_SYSTEM_PROPERTY, PROPERTY_PROXY_MAP_KEY, SERVER_CONFIG_FILE_NAME
Constructor and Description |
---|
AbstractEmbeddedControl() |
Modifier and Type | Method and Description |
---|---|
PgxFuture<java.lang.Boolean> |
isRunning()
Check if the engine is currently up
|
PgxFuture<java.lang.Void> |
shutdownNow()
forces the engine to stop and clean up resources.
|
void |
startImplicitlyIfNotRunning() |
void |
throwIfNotRunning() |
PgxFuture<java.lang.Void> |
throwIfNotRunningAsync() |
runOnCallerThread, shutdownNowIfRunning, start, start, start, start, updatePgxConfig, updatePgxConfig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPinnedGraph, addUserData, demotePinnedGraph, freeCachedMemory, freeCachedMemory, getExtendedVersion, getPgxConfig, getPgxConfigObject, getServerState, getUserData, getVersion, joinMachine, killSession, resizePool, shutdown, start, start, updatePgxConfig, updatePgxConfig
public PgxFuture<java.lang.Boolean> isRunning()
Control
public PgxFuture<java.lang.Void> shutdownNow()
Control
public void startImplicitlyIfNotRunning() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
public void throwIfNotRunning()
public PgxFuture<java.lang.Void> throwIfNotRunningAsync()
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.