org.modeshape.jcr

## Class RepositoryConfiguration.BinaryStorage

- java.lang.Object
- - org.modeshape.jcr.RepositoryConfiguration.BinaryStorage

- Enclosing class:
    RepositoryConfiguration

      @Immutable
      public class RepositoryConfiguration.BinaryStorage
      extends Object

  The binary-storage-related configuration information.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `RepositoryConfiguration.BinaryStorage(Document binaryStorage)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Field` | `findField(Class<?> typeClass, String fieldName)`
    `BinaryStore` | `getBinaryStore()`
    `long` | `getMinimumBinarySizeInBytes()`
    `long` | `getMinimumStringSize()`
    `String` | `getType()` Returns the type of the configured binary store.

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

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

- - ### Constructor Detail

    - #### RepositoryConfiguration.BinaryStorage

          protected RepositoryConfiguration.BinaryStorage(Document binaryStorage)

  - ### Method Detail

    - #### getMinimumBinarySizeInBytes

          public long getMinimumBinarySizeInBytes()

    - #### getMinimumStringSize

          public long getMinimumStringSize()

    - #### getBinaryStore

          public BinaryStore getBinaryStore()
                                     throws Exception

      Throws:
        `Exception`

    - #### getType

          public String getType()

      Returns the type of the configured binary store.
      Returns:
        the type of the configured binary store, never `null`

    - #### findField

          public Field findField(Class<?> typeClass,
                        String fieldName)

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