org.modeshape.jcr.cache

## Interface SessionEnvironment.MonitorFactory

- All Known Subinterfaces:
    Transactions.Transaction
  All Known Implementing Classes:
    JcrRepository.RepositoryMonitorFactory, NoClientTransactions.NoClientTransaction, SynchronizedTransactions.RollbackOnlyTransaction, SynchronizedTransactions.SynchronizedTransaction, Transactions.BaseTransaction, Transactions.SimpleTransaction, Transactions.TraceableSimpleTransaction
  Enclosing interface:
    SessionEnvironment

      public static interface SessionEnvironment.MonitorFactory

  A simple interface used to construct `SessionEnvironment.Monitor` instances.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SessionEnvironment.Monitor` | `createMonitor()` Get an indexer that can be used to index the changes made within the supplied transaction context.

- - ### Method Detail

    - #### createMonitor

          SessionEnvironment.Monitor createMonitor()

      Get an indexer that can be used to index the changes made within the supplied transaction context.
      Returns:
        the indexer; may be null if no monitoring is to be performed

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.