public interface Control
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
PGX_CONFIG_FILE_SYSTEM_PROPERTY  | 
static java.lang.String | 
SERVER_CONFIG_FILE_NAME  | 
| Modifier and Type | Method and Description | 
|---|---|
PgxFuture<java.lang.Void> | 
addPinnedGraph(GraphConfig cfg)
Add a pinned graph (will not be unloaded by engine) to be shared between sessions 
 | 
PgxFuture<java.lang.Void> | 
demotePinnedGraph(GraphConfig cfg)
Demote pinned graph. 
 | 
PgxFuture<oracle.pgx.common.pojo.admin.GraphInfo> | 
getGraphInfo(java.lang.String graphName)
Get details of a (shared) persistent graph 
 | 
PgxFuture<oracle.pgx.common.pojo.admin.GraphInfo> | 
getGraphInfo(java.lang.String sessionId, java.lang.String graphName)
Get details of a session-bound, private graph 
 | 
PgxFuture<java.util.Collection<oracle.pgx.common.pojo.admin.GraphInfo>> | 
getGraphInfos()
Get a list of currently active graphs. 
 | 
PgxFuture<oracle.pgx.common.pojo.admin.MemoryInfo> | 
getMemoryInfo()
Gets the memory info. 
 | 
PgxFuture<java.util.Map<PgxConfig.Field,java.lang.Object>> | 
getPgxConfig()
Gets the pgx config. 
 | 
default PgxFuture<PgxConfig> | 
getPgxConfigObject()
Gets the pgx config as  
PgxConfig object | 
PgxFuture<oracle.pgx.common.pojo.admin.SessionInfo> | 
getSessionInfo(java.lang.String sessionId)
Gets the session info. 
 | 
PgxFuture<java.util.Collection<oracle.pgx.common.pojo.admin.SessionInfo>> | 
getSessionInfos()
Gets the session infos. 
 | 
PgxFuture<oracle.pgx.common.pojo.admin.PoolInfo> | 
getThreadPoolInfo(PoolType type)
Gets the thread pool info. 
 | 
PgxFuture<java.lang.String> | 
getVersion()  | 
PgxFuture<java.lang.Boolean> | 
isRunning()
Check if the engine is currently up 
 | 
PgxFuture<java.lang.Void> | 
killSession(java.lang.String sessionId)
Kill session. 
 | 
PgxFuture<GraphConfig> | 
lookupPreloadedGraph(java.lang.String name)
look up the config of a pre-loaded graph by name. 
 | 
PgxFuture<java.lang.Void> | 
resizePool(PoolType poolType, int parallelism)
resize a pool to use a different degree of parallelism 
 | 
PgxFuture<java.lang.Boolean> | 
shutdown(long timeout, java.util.concurrent.TimeUnit unit)
gracefully shuts down the engine and cleans up resources. 
 | 
PgxFuture<java.lang.Void> | 
shutdownNow()
forces the engine to stop and clean up resources. 
 | 
PgxFuture<java.lang.Void> | 
shutdownNowIfRunning()  | 
PgxFuture<java.lang.Void> | 
start()  | 
PgxFuture<java.lang.Void> | 
start(java.io.InputStream config)  | 
PgxFuture<java.lang.Void> | 
start(java.util.Map<PgxConfig.Field,java.lang.Object> config)  | 
default PgxFuture<java.lang.Void> | 
start(PgxConfig config)  | 
PgxFuture<java.lang.Void> | 
start(java.lang.String json)  | 
static final java.lang.String PGX_CONFIG_FILE_SYSTEM_PROPERTY
static final java.lang.String SERVER_CONFIG_FILE_NAME
PgxFuture<java.lang.Void> addPinnedGraph(GraphConfig cfg)
cfg -PgxFuture<java.lang.Void> demotePinnedGraph(GraphConfig cfg)
cfg - the cfgPgxFuture<oracle.pgx.common.pojo.admin.GraphInfo> getGraphInfo(java.lang.String graphName)
graphName - internal name of persistent graphPgxFuture<oracle.pgx.common.pojo.admin.GraphInfo> getGraphInfo(java.lang.String sessionId, java.lang.String graphName)
sessionId - session id of session holding the graphgraphName - name of graphPgxFuture<java.util.Collection<oracle.pgx.common.pojo.admin.GraphInfo>> getGraphInfos()
PgxFuture<oracle.pgx.common.pojo.admin.MemoryInfo> getMemoryInfo()
PgxFuture<java.util.Map<PgxConfig.Field,java.lang.Object>> getPgxConfig()
default PgxFuture<PgxConfig> getPgxConfigObject()
PgxConfig objectPgxFuture<oracle.pgx.common.pojo.admin.SessionInfo> getSessionInfo(java.lang.String sessionId)
sessionId - the session idPgxFuture<java.util.Collection<oracle.pgx.common.pojo.admin.SessionInfo>> getSessionInfos()
PgxFuture<oracle.pgx.common.pojo.admin.PoolInfo> getThreadPoolInfo(PoolType type)
type - which thread poolPgxFuture<java.lang.String> getVersion()
PgxFuture<java.lang.Boolean> isRunning()
PgxFuture<java.lang.Void> killSession(java.lang.String sessionId)
sessionId - the session to be killedPgxFuture<GraphConfig> lookupPreloadedGraph(java.lang.String name)
name - the name of the graphnull if no such graph was pre-loaded.PgxFuture<java.lang.Void> resizePool(PoolType poolType, int parallelism)
poolType - which pool to resizeparallelism - the target parallelismPgxFuture<java.lang.Boolean> shutdown(long timeout, java.util.concurrent.TimeUnit unit)
PgxFuture<java.lang.Void> shutdownNow()
PgxFuture<java.lang.Void> shutdownNowIfRunning()
PgxFuture<java.lang.Void> start()
PgxFuture<java.lang.Void> start(java.io.InputStream config)
PgxFuture<java.lang.Void> start(java.util.Map<PgxConfig.Field,java.lang.Object> config)
PgxFuture<java.lang.Void> start(java.lang.String json)
Copyright © 2016, 2018 Oracle and/or its affiliates. All Rights Reserved.