use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_18_int_int in project JCELechat by guiguilechat.
the class Characters method planets.
/**
* Returns full details on the layout of a single planetary colony, including links, pins and routes. Note: Planetary information is only recalculated when the colony is viewed through the client. Information will not update until this criteria is met.
*
* cache over {@link Swagger#get_characters_planets}<br />
*
* @param character_id
* An EVE character ID
* @param planet_id
* Planet id of the target planet
*/
public ObjHolder<R_get_characters_character_id_planets_planet_id> planets(int character_id, int planet_id) {
K_18_int_int param = new K_18_int_int(planet_id, character_id);
ObjHolderSimple<R_get_characters_character_id_planets_planet_id> ret = get_characters_character_id_planets_planet_id_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_characters_character_id_planets_planet_id_holder);
try {
synchronized (get_characters_character_id_planets_planet_id_holder) {
LockWatchDog.BARKER.hld(get_characters_character_id_planets_planet_id_holder);
{
ret = get_characters_character_id_planets_planet_id_holder.get(param);
if (ret == null) {
ret = new ObjHolderSimple<R_get_characters_character_id_planets_planet_id>();
ObjHolderSimple<R_get_characters_character_id_planets_planet_id> finalRet = ret;
get_characters_character_id_planets_planet_id_holder.put(param, ret);
(cache).addFetchCacheObject("get_characters_character_id_planets_planet_id", properties -> (cache.swagger).get_characters_planets(character_id, planet_id, properties), item -> finalRet.set(item));
}
}
LockWatchDog.BARKER.rel(get_characters_character_id_planets_planet_id_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_characters_character_id_planets_planet_id_holder);
}
}
return ret;
}
Aggregations