LEAD-454 added description.
LEAD-454 return long.max_value -1 because in elasticsearch code, https://github.com/elasticsearch/elasticsearch/blob/v1.2.1/src/main/java/org/elasticsearch/index/translog/fs/FsTranslog.java#L231 . so the if check won't give location as null.
LEAD-454 write(byte[], int, int) is added to interface File, so now we have to implement in these class as well.
LEAD-454 exposed this method from class ACassandraFile because in class CassandraFileOutputStream need to call this class.
override OutputStream.write(byte, int, int) using our customize cassandra file.write. if it is not append, we delete the file and start a new file.
LEAD-454 implemented a TODO test method when we write a new file using CassandraFileOutputStream. it is not also support mode append.