com.workday.elasticrypt.translog

EncryptedTranslog

class EncryptedTranslog extends FsTranslog

Extends org.elasticsearch.index.translog.fs.FsTranslog and overrides createRafReference() and translogStreamFor() to return an EncryptedRafReference and EncryptedTranslogStream respectively. Both createRafReference() and translogStreamFor() are small methods that we added to FsTranslog so that they could be overriden here.

Linear Supertypes
FsTranslog, Translog, Accountable, CloseableIndexComponent, Closeable, AutoCloseable, AbstractIndexShardComponent, IndexShardComponent, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EncryptedTranslog
  2. FsTranslog
  3. Translog
  4. Accountable
  5. CloseableIndexComponent
  6. Closeable
  7. AutoCloseable
  8. AbstractIndexShardComponent
  9. IndexShardComponent
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EncryptedTranslog(shardId: ShardId, indexSettings: Settings, indexSettingsService: IndexSettingsService, bigArrays: BigArrays, indexStore: IndexStore, component: NodeKeyProviderComponent)

    Annotations
    @Inject()

Type Members

  1. class ApplySettings extends Listener

    Attributes
    private[org.elasticsearch.index.translog.fs]
    Definition Classes
    FsTranslog

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. def add(operation: Operation): Location

    Adds an operation to the transaction log.

    Adds an operation to the transaction log.

    operation

    type of operation

    returns

    location of transaction log

    Definition Classes
    EncryptedTranslog → FsTranslog → Translog
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clearUnreferenced(): Int

    Definition Classes
    FsTranslog → Translog
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Unit

    Definition Classes
    FsTranslog → CloseableIndexComponent → Closeable → AutoCloseable
    Annotations
    @throws( ... )
  11. def closeWithDelete(): Unit

    Definition Classes
    FsTranslog → Translog
  12. def createRafReference(file: File, logger: ESLogger): EncryptedRafReference

    Creates and returns an EncryptedRafReference.

    Creates and returns an EncryptedRafReference.

    file

    File instance to be used

    logger

    ESLogger

    Attributes
    protected[com.workday.elasticrypt.translog]
    Definition Classes
    EncryptedTranslog → FsTranslog
  13. def currentId(): Long

    Definition Classes
    FsTranslog → Translog
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def estimatedNumberOfOperations(): Int

    Definition Classes
    FsTranslog → Translog
  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. def getKeyProvider: KeyProvider

    Getter for the key provider, as provided by the NodeKeyProviderComponent parameter.

    Getter for the key provider, as provided by the NodeKeyProviderComponent parameter.

    returns

    KeyProvider

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def indexSettings(): Settings

    Definition Classes
    AbstractIndexShardComponent → IndexShardComponent
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def locations(): Array[File]

    Definition Classes
    FsTranslog
  24. def makeTransientCurrent(): Unit

    Definition Classes
    FsTranslog → Translog
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def newTransientTranslog(arg0: Long): Unit

    Definition Classes
    FsTranslog → Translog
    Annotations
    @throws( ... )
  27. def newTranslog(arg0: Long): Unit

    Definition Classes
    FsTranslog → Translog
    Annotations
    @throws( ... )
  28. def nodeName(): String

    Definition Classes
    AbstractIndexShardComponent
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def ramBytesUsed(): Long

    Definition Classes
    FsTranslog → Accountable
  32. def read(arg0: Location): Operation

    Definition Classes
    FsTranslog → Translog
  33. def revertTransient(): Unit

    Definition Classes
    FsTranslog → Translog
  34. def shardId(): ShardId

    Definition Classes
    AbstractIndexShardComponent → IndexShardComponent
  35. def snapshot(arg0: Snapshot): Snapshot

    Definition Classes
    FsTranslog → Translog
  36. def snapshot(): FsChannelSnapshot

    Definition Classes
    FsTranslog → Translog
    Annotations
    @throws( ... )
  37. def stats(): TranslogStats

    Definition Classes
    FsTranslog → Translog
  38. def sync(): Unit

    Definition Classes
    FsTranslog → Translog
    Annotations
    @throws( classOf[java.io.IOException] )
  39. def syncNeeded(): Boolean

    Definition Classes
    FsTranslog → Translog
  40. def syncOnEachOperation(arg0: Boolean): Unit

    Definition Classes
    FsTranslog → Translog
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def translogSizeInBytes(): Long

    Definition Classes
    FsTranslog → Translog
  44. def translogStreamFor(translogFile: File): TranslogStream

    Creates and returns an EncryptedTranslogStream.

    Creates and returns an EncryptedTranslogStream.

    translogFile

    File used to create TranslogStream

    Definition Classes
    EncryptedTranslog → FsTranslog → Translog
  45. def updateBuffer(arg0: ByteSizeValue): Unit

    Definition Classes
    FsTranslog → Translog
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FsTranslog

Inherited from Translog

Inherited from Accountable

Inherited from CloseableIndexComponent

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AbstractIndexShardComponent

Inherited from IndexShardComponent

Inherited from AnyRef

Inherited from Any

Ungrouped