Resource (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.graphdb

## Interface Resource

- All Superinterfaces:
    AutoCloseable
  All Known Subinterfaces:
    IndexHits<T>, ResourceIterator<T>
  All Known Implementing Classes:
    CombiningResourceIterator, PrefetchingResourceIterator, ResourceClosingIterator

      public interface Resource
      extends AutoCloseable

  Resource that should be closed when not needed anymore. Extends `AutoCloseable` with `close()` not throwing any checked exception.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Resource` | `EMPTY` Empty resource that doesn't `close` anything.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`

- - ### Field Detail

    - #### EMPTY

          static final Resource EMPTY

      Empty resource that doesn't `close` anything.

  - ### Method Detail

    - #### close

          void close()

      Specified by:
        `close` in interface `AutoCloseable`

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.