gcexec

package
v0.5.643 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractFlatGarbageCollectorExecutor

type AbstractFlatGarbageCollectorExecutor interface {
	Update(string, internaldto.TxnControlCounters, internaldto.TxnControlCounters) error
	Collect() error
}

type BrutalGarbageCollectorExecutor

type BrutalGarbageCollectorExecutor interface {
	Purge() error
	PurgeCache() error
	PurgeControlTables() error
	PurgeEphemeral() error
}

type GarbageCollectorExecutor

type GarbageCollectorExecutor interface {
	BrutalGarbageCollectorExecutor
	AbstractFlatGarbageCollectorExecutor
}

func GetGarbageCollectorExecutorInstance

func GetGarbageCollectorExecutorInstance(
	sqlEngine sqlengine.SQLEngine,
	ns tablenamespace.Collection,
	system sql_system.SQLSystem, txnStore kstore.KStore,
) (GarbageCollectorExecutor, error)

Idiomatic golang singleton Credit to http://marcio.io/2015/07/singleton-pattern-in-go/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL