func (store *JobStore) GetAllocVersion() int {

	store.RLock()
	version := store.alloc.Version
	store.RUnlock()
	return version
}
//GetAllocVersion is exported
//return jobs alloc version.
GetAllocVersion is exported
return jobs alloc version.
// GetAllocVersion is exported // return jobs alloc version .
func (store *JobStore) GetAllocVersion() int {
	store.RLock()
	version := store.alloc.Version
	store.RUnlock()
	return version
}
func ( store * JobStore ) GetAllocVersion ( ) int { store . RLock ( ) version := store . alloc . Version store . RUnlock ( ) return version }
GetAllocVersion is exported
return jobs alloc version.
GetAllocVersion is exported return jobs alloc version .