func (s *pebbleStore) Shutdown() {
}
Shutdown marks the store as shutdown.
package pebble
import (
	"sync"
	"github.com/cockroachdb/pebble"
	"github.com/iotaledger/hive.go/byteutils"
	"github.com/iotaledger/hive.go/kvstore"
	"github.com/iotaledger/hive.go/kvstore/utils"
	"github.com/iotaledger/hive.go/types"
)
type pebbleStore struct {
	instance *pebble.DB
	dbPrefix []byte
}
func New(db *pebble.DB) kvstore.KVStore {
	return &pebbleStore{
		instance: db,
	}
}
func (s *pebbleStore) WithRealm(realm kvstore.Realm) kvstore.KVStore {
	return &pebbleStore{
		instance: s.instance,
		dbPrefix: realm,
	}
}
func (s *pebbleStore) Realm() []byte {
	return s.dbPrefix
}
func (s *pebbleStore) buildKeyPrefix(prefix kvstore.KeyPrefix) kvstore.KeyPrefix {
	return byteutils.ConcatBytes(s.dbPrefix, prefix)
}