org.elasticsearch.index.translog

EncryptedTranslogStream

class EncryptedTranslogStream extends ChecksummedTranslogStream

Extension of org.elasticsearch.index.translog.ChecksummedTranslogStream that overrides openInput() to use a ChannelInputStream that wraps an EncryptedFileChannel. This class must be located in org.elasticsearch.index.translog in order to access the no-arg constructor of ChecksummedTranslogStream.

Linear Supertypes
ChecksummedTranslogStream, TranslogStream, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EncryptedTranslogStream
  2. ChecksummedTranslogStream
  3. TranslogStream
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EncryptedTranslogStream(pageSize: Int, keyProvider: KeyProvider, indexName: String)

    pageSize

    number of 16-byte blocks per page

    keyProvider

    encryption key information getter

    indexName

    name of index used to retrieve the key

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def openInput(translogFile: File): StreamInput

    Copied from ChecksummedTranslogStream but modified to use EncryptedFileChannel (and removed CodecUtil.

    Copied from ChecksummedTranslogStream but modified to use EncryptedFileChannel (and removed CodecUtil.checkHeader).

    translogFile

    File used to create a ChannelInputStream

    returns

    new InputStreamStreamInput

    Definition Classes
    EncryptedTranslogStream → ChecksummedTranslogStream → TranslogStream
  18. def read(arg0: StreamInput): Operation

    Definition Classes
    ChecksummedTranslogStream → TranslogStream
    Annotations
    @throws( classOf[java.io.IOException] )
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def write(arg0: StreamOutput, arg1: Operation): Unit

    Definition Classes
    ChecksummedTranslogStream → TranslogStream
    Annotations
    @throws( classOf[java.io.IOException] )
  25. def writeHeader(channel: FileChannel): Int

    Override this method to remove the translog header.

    Override this method to remove the translog header.

    channel

    FileChannel used

    returns

    0

    Definition Classes
    EncryptedTranslogStream → ChecksummedTranslogStream → TranslogStream

Inherited from ChecksummedTranslogStream

Inherited from TranslogStream

Inherited from AnyRef

Inherited from Any

Ungrouped