All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webecho.tools.HashedIndexedFileStorage.scala Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package webecho.tools

import scala.util.{Try, Using}
import java.io.{File, FileOutputStream, ObjectOutputStream, RandomAccessFile}
import scala.io.Codec

trait HashedIndexedFileStorage {
  def list(reverseOrder: Boolean = false, epoch: Option[Long] = None): Try[Iterator[String]]
  def append(data: String): Try[HashedIndexedMeta]
  def lastUpdated(): Try[Option[Long]]
  def count(): Try[Long]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy