public class ThreadPoolExecutorAsyncSession extends AbstractExecutorServiceAsyncSession<ThreadPoolExecutor>
AsyncSession interface that uses an
ThreadPoolExecutor object for running asynchronous tasks.AbstractExecutorServiceAsyncSession.ApplyAclCallable, AbstractExecutorServiceAsyncSession.ApplyPolicyCallable, AbstractExecutorServiceAsyncSession.CreateDocumentCallable, AbstractExecutorServiceAsyncSession.CreateDocumentFromSourceCallable, AbstractExecutorServiceAsyncSession.CreateFolderCallable, AbstractExecutorServiceAsyncSession.CreateItemCallable, AbstractExecutorServiceAsyncSession.CreatePolicyCallable, AbstractExecutorServiceAsyncSession.CreateRelationshipCallable, AbstractExecutorServiceAsyncSession.CreateTypeCallable, AbstractExecutorServiceAsyncSession.DeleteCallable, AbstractExecutorServiceAsyncSession.DeleteTreeCallable, AbstractExecutorServiceAsyncSession.DeleteTypeCallable, AbstractExecutorServiceAsyncSession.GetContentStreamCallable, AbstractExecutorServiceAsyncSession.GetLatestDocumentVersionCallable, AbstractExecutorServiceAsyncSession.GetObjectByPathCallable, AbstractExecutorServiceAsyncSession.GetObjectCallable, AbstractExecutorServiceAsyncSession.GetTypeDefinitonCallable, AbstractExecutorServiceAsyncSession.RemovePolicyCallable, AbstractExecutorServiceAsyncSession.SessionCallable<V>, AbstractExecutorServiceAsyncSession.SetAclCallable, AbstractExecutorServiceAsyncSession.StoreContentStreamCallable, AbstractExecutorServiceAsyncSession.UpdateTypeCallablesession| Constructor and Description |
|---|
ThreadPoolExecutorAsyncSession(Session session) |
ThreadPoolExecutorAsyncSession(Session session,
int maxThreads) |
| Modifier and Type | Method and Description |
|---|---|
ThreadPoolExecutor |
getExecutorService()
Returns the
ExecutorService object. |
applyAcl, applyPolicy, awaitTermination, createDocument, createDocumentFromSource, createFolder, createItem, createPolicy, createRelationship, createType, delete, deleteTree, deleteType, getContentStream, getLatestDocumentVersion, getLatestDocumentVersion, getObject, getObject, getObjectByPath, getObjectByPath, getTypeDefinition, isShutdown, isTerminated, removePolicy, setAcl, shutdown, shutdownNow, storeContentStream, submit, updateTypecreateDocument, createDocumentFromSource, createFolder, createItem, createPolicy, createRelationship, delete, getContentStream, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getLatestDocumentVersion, getObject, getObject, getObjectByPath, getObjectByPath, getSession, storeContentStreampublic ThreadPoolExecutorAsyncSession(Session session)
public ThreadPoolExecutorAsyncSession(Session session, int maxThreads)
public ThreadPoolExecutor getExecutorService()
AbstractExecutorServiceAsyncSessionExecutorService object.getExecutorService in class AbstractExecutorServiceAsyncSession<ThreadPoolExecutor>Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.