Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRadosCacheStats ¶
func GetRadosCacheStats() groupcache.Stats
func InitCachePool ¶
func InitRadosCache ¶
func SetCachePoolPeers ¶
Types ¶
type RadosReaderAt ¶
type RadosReaderAt struct {
// contains filtered or unexported fields
}
func NewRadosReaderAt ¶
func NewRadosReaderAt(striper *rados.StriperPool, poolname string, filename string, size int64) RadosReaderAt
TODO(wenjianhn):
- func NewRadosReaderAt(poolname string, filename string)
- reuse rados.NewConn
func (*RadosReaderAt) ReadAt ¶
func (r *RadosReaderAt) ReadAt(p []byte, off int64) (n int, err error)
func (*RadosReaderAt) Size ¶
func (r *RadosReaderAt) Size() int64
Click to show internal directories.
Click to hide internal directories.