org.modeshape.jcr.query

## Class BufferManager.DbHolder

- java.lang.Object
- - org.modeshape.jcr.query.BufferManager.DbHolder

- All Implemented Interfaces:
    AutoCloseable
  Enclosing class:
    BufferManager

      protected static final class BufferManager.DbHolder
      extends Object
      implements AutoCloseable

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `BufferManager.DbHolder(Supplier<org.mapdb.DB> supplier)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `org.mapdb.DB` | `get()`

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

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

- - ### Constructor Detail

    - #### BufferManager.DbHolder

          protected BufferManager.DbHolder(Supplier<org.mapdb.DB> supplier)

  - ### Method Detail

    - #### get

          public org.mapdb.DB get()

    - #### close

          public void close()

      Specified by:
        `close` in interface `AutoCloseable`

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