@Deprecated public class ThreadingSesameBackend extends SesameRepositoryBackend
Modifier | Constructor and Description |
---|---|
protected |
ThreadingSesameBackend()
Deprecated.
Initialise a new sesame backend.
|
|
ThreadingSesameBackend(org.openrdf.repository.Repository repository)
Deprecated.
Initialise a new sesame backend using the repository passed as argument.
|
Modifier and Type | Method and Description |
---|---|
ThreadPoolExecutor |
getThreadPool()
Deprecated.
In case the backend supports threading, this method should return the ExecutorService representing the
thread pool.
|
void |
shutdown()
Deprecated.
Shut down the thread pool
|
boolean |
supportsThreading()
Deprecated.
Return true if the underlying backend supports the parallel execution of queries.
|
createLiteral, createLiteral, createURI, getRepository, listObjects, listSubjects, setRepository
createLiteralInternal, createLiteralInternal, createURIInternal, listObjectsInternal, listSubjectsInternal, merge
booleanValue, dateTimeValue, dateValue, debugType, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
booleanValue, dateTimeValue, dateValue, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValue
protected ThreadingSesameBackend()
public ThreadingSesameBackend(org.openrdf.repository.Repository repository)
repository
- public boolean supportsThreading()
supportsThreading
in interface RDFBackend<org.openrdf.model.Value>
supportsThreading
in class AbstractSesameBackend
public ThreadPoolExecutor getThreadPool()
getThreadPool
in interface RDFBackend<org.openrdf.model.Value>
getThreadPool
in class AbstractSesameBackend
public void shutdown()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.