File instance to be used
ESLogger
number of 16-byte blocks per page
encryption key information getter
name of index used to retrieve key
Return EncryptedFileChannel.
Return EncryptedFileChannel.
We need to override this so that we can intercept raf.
We need to override this so that we can intercept raf.close() to first flush the AESWriter.
true if want to delete the file
Overriding this method only necessary because we had to override decreaseRefCount() and refCount.
Overriding this method only necessary because we had to override decreaseRefCount() and refCount.
true if refCount + 1 is greater than 1, false otherwise
Creates and returns EncryptedTranslogStream.
Creates and returns EncryptedTranslogStream.
We extend ES's RafReference (org.elasticsearch.index.translog.fs.RafReference) so that we do not need to copy even more of ES's code into our own codebase. Overrides the channel() method to return an EncryptedFileChannel.