use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_9_int_Boolean in project JCELechat by guiguilechat.
the class Corporations method industry_jobs.
/**
* List industry jobs run by a corporation
*
* cache over {@link Swagger#get_corporations_industry_jobs}<br />
*
* @param corporation_id
* An EVE corporation ID
* @param include_completed
* Whether to retrieve completed corporation industry jobs. Only includes jobs from the past 90 days
*/
public ListHolder<R_get_corporations_corporation_id_industry_jobs> industry_jobs(int corporation_id, Boolean include_completed) {
K_9_int_Boolean param = new K_9_int_Boolean(corporation_id, include_completed);
ListHolderImpl<R_get_corporations_corporation_id_industry_jobs> ret = get_corporations_corporation_id_industry_jobs_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_corporations_corporation_id_industry_jobs_holder);
try {
synchronized (get_corporations_corporation_id_industry_jobs_holder) {
LockWatchDog.BARKER.hld(get_corporations_corporation_id_industry_jobs_holder);
{
ret = get_corporations_corporation_id_industry_jobs_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<R_get_corporations_corporation_id_industry_jobs>();
get_corporations_corporation_id_industry_jobs_holder.put(param, ret);
ListHolderImpl<R_get_corporations_corporation_id_industry_jobs> finalRet = ret;
(cache).addFetchCacheArray("get_corporations_corporation_id_industry_jobs", (page, properties) -> (cache.swagger).get_corporations_industry_jobs(corporation_id, include_completed, page, properties), arr -> finalRet.set(arr), new String[] { "Factory_Manager" });
}
}
LockWatchDog.BARKER.rel(get_corporations_corporation_id_industry_jobs_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_corporations_corporation_id_industry_jobs_holder);
}
}
return ret;
}
Aggregations