protected static class JcrRepository.RepositorySessionEnvironment extends Object implements SessionEnvironment
SessionEnvironment.Monitor, SessionEnvironment.MonitorFactory
Modifier | Constructor and Description |
---|---|
protected |
JcrRepository.RepositorySessionEnvironment(Transactions transactions,
boolean indexingClustered) |
protected |
JcrRepository.RepositorySessionEnvironment(Transactions transactions,
boolean indexingClustered,
String journalId) |
Modifier and Type | Method and Description |
---|---|
TransactionalWorkspaceCaches |
getTransactionalWorkspaceCacheFactory()
Get the factory used to obtain the transactional workspace caches.
|
Transactions |
getTransactions()
Get the interface for working with transactions.
|
boolean |
indexingClustered()
Indicates if indexing is configured in a clustered mode of not.
|
String |
journalId()
Returns the id of the repository's
ChangeJournal |
protected JcrRepository.RepositorySessionEnvironment(Transactions transactions, boolean indexingClustered)
protected JcrRepository.RepositorySessionEnvironment(Transactions transactions, boolean indexingClustered, String journalId)
public Transactions getTransactions()
SessionEnvironment
getTransactions
in interface SessionEnvironment
public TransactionalWorkspaceCaches getTransactionalWorkspaceCacheFactory()
SessionEnvironment
getTransactionalWorkspaceCacheFactory
in interface SessionEnvironment
public boolean indexingClustered()
SessionEnvironment
indexingClustered
in interface SessionEnvironment
true
if indexing is configured clustered, false
otherwisepublic String journalId()
SessionEnvironment
ChangeJournal
journalId
in interface SessionEnvironment
String
or null
if no journal is configured.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.