PostgresService

com.netflix.atlas.postgres.PostgresService
class PostgresService(val config: Config) extends AbstractService

Manage connections to postgres database.

Attributes

Graph
Supertypes
class AbstractService
trait AutoCloseable
trait Service
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getConnection: Connection
def getCopyManager: CopyManager
def runQueries[T](f: Statement => T): T
override def startImpl(): Unit

Attributes

Definition Classes
AbstractService
override def stopImpl(): Unit

Attributes

Definition Classes
AbstractService

Inherited methods

def close(): Unit

Attributes

Inherited from:
AbstractService
def isHealthy(): Boolean

Attributes

Inherited from:
AbstractService
final def name(): String

Attributes

Inherited from:
AbstractService
@PostConstruct
final def start(): Unit

Attributes

Inherited from:
AbstractService
final def state(): State

Attributes

Inherited from:
AbstractService
final def stop(): Unit

Attributes

Inherited from:
AbstractService

Concrete fields

val config: Config
val tables: List[TableDefinition]