// NewDMap creates an returns a new DMap instance.
NewDMap creates an returns a new DMap instance.
// NewDMap creates an returns a new DMap instance .
func (db *Olric) NewDMap(name string) (*DMap, error) {
	dm, err := db.dmap.NewDMap(name)
	if err != nil {
		return nil, convertDMapError(err)
	}
	return &DMap{
		dm: dm,
	}, nil
}
func ( db * Olric ) NewDMap ( name string ) ( * DMap , error ) { dm , err := db . dmap . NewDMap ( name ) if err != nil { return nil , convertDMapError ( err ) } return & DMap { dm : dm , } , nil }
NewDMap creates an returns a new DMap instance.
NewDMap creates an returns a new DMap instance .