MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / IsClose

Method IsClose

db.go:1087–1089  ·  view source on GitHub ↗

IsClose return the value that represents the status of DB

()

Source from the content-addressed store, hash-verified

1085
1086// IsClose return the value that represents the status of DB
1087func (db *DB) IsClose() bool {
1088 return db.statusMgr.isClosed()
1089}
1090
1091// handleExpiredKeys processes a batch of expiration events in a single transaction.
1092// This batch processing approach significantly reduces transaction overhead compared

Callers 15

cleanupBenchmarkDBFunction · 0.80
runNutsDBTestFunction · 0.80
runNutsDBTestWithWatchFunction · 0.80
TestDB_ReopenWithDeleteFunction · 0.80
TestDB_Close_TimeoutFunction · 0.80

Calls 1

isClosedMethod · 0.45

Tested by 15

cleanupBenchmarkDBFunction · 0.64
runNutsDBTestFunction · 0.64
runNutsDBTestWithWatchFunction · 0.64
TestDB_ReopenWithDeleteFunction · 0.64
TestDB_Close_TimeoutFunction · 0.64