LogRepository class

Constructors

LogRepository()

Properties

configPath → ConfigPath?
finalinherited
environment → Environment
Fetch the environment configuration from ConfigService.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

config<T>(String path) → T
Fetches a configuration value from ConfigService.
inherited
configObject<T extends TransferObjectBase>(String path, TransferBean<T> bean) → T
Fetches a configuration value from ConfigService and parse it into the TransferObject.
inherited
create(LogEntry entry) Future<int>
createInstanceIfNotExists(Instance instance) Future<void>
deleteAll({required Filter filter}) Future<void>
getFilteredStream(Filter filter) Stream<CRUDEvent<LogEntry, int>>
inherited
getInstances({String? serviceName}) Future<List<Instance>>
getLogEntries({Filter filter = Filter.empty, Sort sort = Sort.empty, int offset = 0, int limit = -1}) Future<List<LogEntry>>
getLogEntryCount({Filter filter = Filter.empty}) Future<int>
getServiceNames() Future<List<String>>
initialize() Future<void>
inherited
initializeAdapter() Future<DatabaseAdapter<DatabaseConnection>>
inherited
matchesFilter(LogEntry item, Filter filter) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyCreate(LogEntry item) → void
inherited
notifyDelete(int id) → void
inherited
notifyUpdate(LogEntry item) → void
inherited
shutdown() Future<void>
inherited
toString() String
A string representation of this object.
inherited
transaction<T>(Future<T> delegate(DatabaseContext context)) Future<T>
Executes delegate inside of a database transaction.
inherited
updateInstance(Instance instance) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited