Package-level declarations

Types

Link copied to clipboard
class AuthenticationException(message: String? = null, cause: Throwable? = null) : ServiceException

An exception indicating an authentication failure with the Metron API.

Link copied to clipboard
class Metron(username: String, password: String, val cache: SQLiteCache? = null, timeout: Duration = Duration.ofSeconds(30), var maxRetries: Int = 5)

A client for interacting with the Metron API.

Link copied to clipboard
class RateLimitException(message: String? = null, cause: Throwable? = null) : ServiceException

An exception indicating that the Metron API rate limit has been exceeded.

Link copied to clipboard
open class ServiceException(message: String? = null, cause: Throwable? = null) : Exception

A generic exception representing any error in Kraken or the Metron service.

Link copied to clipboard
data class SQLiteCache(val path: Path, val expiry: Int? = null)

A simple SQLite-based caching mechanism for storing and retrieving HTTP query results.