com.thinkaurelius.titan.core.log

## Interface LogProcessorFramework

- All Known Implementing Classes:
    StandardLogProcessorFramework

      public interface LogProcessorFramework

  Framework for processing transaction logs. Using the `LogProcessorBuilder` returned by `addLogProcessor(String)` one can process the change events for a particular transaction log identified by name.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `LogProcessorBuilder` | `addLogProcessor(String logIdentifier)` Returns a processor builder for the transaction log with the given log identifier.
    `boolean` | `removeLogProcessor(String logIdentifier)` Removes the log processor for the given identifier and closes the associated log.
    `void` | `shutdown()` Closes all log processors, their associated logs, and the backing graph instance

- - ### Method Detail

    - #### addLogProcessor

          LogProcessorBuilder addLogProcessor(String logIdentifier)

      Returns a processor builder for the transaction log with the given log identifier. Only one processor may be registered per transaction log.
      Parameters:
        `logIdentifier` - Name that identifies the transaction log to be processed, i.e. the one used in `TransactionBuilder.setLogIdentifier(String)`
      Returns:

    - #### removeLogProcessor

          boolean removeLogProcessor(String logIdentifier)

      Removes the log processor for the given identifier and closes the associated log.
      Parameters:
        `logIdentifier` -
      Returns:

    - #### shutdown

          void shutdown()
                        throws TitanException

      Closes all log processors, their associated logs, and the backing graph instance
      Throws:
        `TitanException`

Copyright © 2012–2014. All rights reserved.