org.qi4j.entitystore.leveldb

## Class LevelDBEntityStoreMixin

- java.lang.Object
- - org.qi4j.entitystore.leveldb.LevelDBEntityStoreMixin

- All Implemented Interfaces:
    ServiceActivation, MapEntityStore

      public class LevelDBEntityStoreMixin
      extends Object
      implements ServiceActivation, MapEntityStore

  LevelDB implementation of MapEntityStore.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.service.ServiceActivation

      `ServiceActivation.ServiceActivator`

    - ### Nested classes/interfaces inherited from interface org.qi4j.spi.entitystore.helpers.MapEntityStore

      `MapEntityStore.MapChanger, MapEntityStore.MapChanges`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LevelDBEntityStoreMixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `activateService()` Called after ServiceComposite Activation.
    `void` | `applyChanges(MapEntityStore.MapChanges changes)`
    `Input<Reader,IOException>` | `entityStates()`
    `Reader` | `get(EntityReference entityReference)`
    `void` | `passivateService()` Called before ServiceComposite Passivation.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LevelDBEntityStoreMixin

          public LevelDBEntityStoreMixin()

  - ### Method Detail

    - #### activateService

          public void activateService()
                               throws Exception

      Description copied from interface: `ServiceActivation`
      Called after ServiceComposite Activation.
      Specified by:
        `activateService` in interface `ServiceActivation`
      Throws:
        `Exception`

    - #### passivateService

          public void passivateService()
                                throws Exception

      Description copied from interface: `ServiceActivation`
      Called before ServiceComposite Passivation.
      Specified by:
        `passivateService` in interface `ServiceActivation`
      Throws:
        `Exception`

    - #### get

          public Reader get(EntityReference entityReference)
                     throws EntityStoreException

      Specified by:
        `get` in interface `MapEntityStore`
      Parameters:
        `entityReference` - The reference to the entity that we want to get.
      Returns:
        Entity state Reader
      Throws:
        `EntityStoreException`

    - #### entityStates

          public Input<Reader,IOException> entityStates()

      Specified by:
        `entityStates` in interface `MapEntityStore`
      Returns:
        All entities state Readers

    - #### applyChanges

          public void applyChanges(MapEntityStore.MapChanges changes)
                            throws IOException

      Specified by:
        `applyChanges` in interface `MapEntityStore`
      Throws:
        `IOException`