org.apache.solr.core

## Class BlobRepository.BlobContent<T>

- java.lang.Object
- - org.apache.solr.core.BlobRepository.BlobContent<T>

- Enclosing class:
    BlobRepository

      public static class BlobRepository.BlobContent<T>
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `key`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BlobContent(String key, ByteBuffer buffer)`
    `BlobContent(String key, ByteBuffer buffer, BlobRepository.Decoder<T> decoder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `get()` Get the cached object.

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

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

- - ### Field Detail

    - #### key

          public final String key

  - ### Constructor Detail

    - #### BlobContent

          public BlobContent(String key,
                             ByteBuffer buffer,
                             BlobRepository.Decoder<T> decoder)

    - #### BlobContent

          public BlobContent(String key,
                             ByteBuffer buffer)

  - ### Method Detail

    - #### get

          public T get()

      Get the cached object.
      Returns:
        the object representing the content that is cached.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.