func (cache *Cache) SetAllocBuffer(key string, data []byte) (int, error) {

	if err := cache.jobStore.SetAllocBuffer(key, data); err != nil {
		return -1, err
	}
	version := cache.jobStore.GetAllocVersion()
	return version, nil
}
//SetAllocBuffer is exported
//set jobs alloc
SetAllocBuffer is exported
set jobs alloc
// SetAllocBuffer is exported // set jobs alloc
func (cache *Cache) SetAllocBuffer(key string, data []byte) (int, error) {
	if err := cache.jobStore.SetAllocBuffer(key, data); err != nil {
		return -1, err
	}
	version := cache.jobStore.GetAllocVersion()
	return version, nil
}
func ( cache * Cache ) SetAllocBuffer ( key string , data [ ] byte ) ( int , error ) { if err := cache . jobStore . SetAllocBuffer ( key , data ) ; err != nil { return - 1 , err } version := cache . jobStore . GetAllocVersion ( ) return version , nil }
SetAllocBuffer is exported
set jobs alloc
SetAllocBuffer is exported set jobs alloc