use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_16_int_long_int in project JCELechat by guiguilechat.
the class Corporations method starbases.
/**
* Returns various settings and fuels of a starbase (POS)
*
* cache over {@link Swagger#get_corporations_starbases}<br />
*
* @param corporation_id
* An EVE corporation ID
* @param starbase_id
* An EVE starbase (POS) ID
* @param system_id
* The solar system this starbase (POS) is located in,
*/
public ObjHolder<R_get_corporations_corporation_id_starbases_starbase_id> starbases(int corporation_id, long starbase_id, int system_id) {
K_16_int_long_int param = new K_16_int_long_int(corporation_id, starbase_id, system_id);
ObjHolderSimple<R_get_corporations_corporation_id_starbases_starbase_id> ret = get_corporations_corporation_id_starbases_starbase_id_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_corporations_corporation_id_starbases_starbase_id_holder);
try {
synchronized (get_corporations_corporation_id_starbases_starbase_id_holder) {
LockWatchDog.BARKER.hld(get_corporations_corporation_id_starbases_starbase_id_holder);
{
ret = get_corporations_corporation_id_starbases_starbase_id_holder.get(param);
if (ret == null) {
ret = new ObjHolderSimple<R_get_corporations_corporation_id_starbases_starbase_id>();
ObjHolderSimple<R_get_corporations_corporation_id_starbases_starbase_id> finalRet = ret;
get_corporations_corporation_id_starbases_starbase_id_holder.put(param, ret);
(cache).addFetchCacheObject("get_corporations_corporation_id_starbases_starbase_id", properties -> (cache.swagger).get_corporations_starbases(corporation_id, starbase_id, system_id, properties), item -> finalRet.set(item), new String[] { "Director" });
}
}
LockWatchDog.BARKER.rel(get_corporations_corporation_id_starbases_starbase_id_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_corporations_corporation_id_starbases_starbase_id_holder);
}
}
return ret;
}
Aggregations