use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_0_int_Integer in project JCELechat by guiguilechat.
the class Characters method calendar.
/**
* Get 50 event summaries from the calendar. If no from_event ID is given, the resource will return the next 50 chronological event summaries from now. If a from_event ID is specified, it will return the next 50 chronological event summaries from after that event
*
* cache over {@link Swagger#get_characters_calendar}<br />
*
* @param character_id
* An EVE character ID
* @param from_event
* The event ID to retrieve events from
*/
public ListHolder<R_get_characters_character_id_calendar> calendar(int character_id, Integer from_event) {
K_0_int_Integer param = new K_0_int_Integer(character_id, from_event);
ListHolderImpl<R_get_characters_character_id_calendar> ret = get_characters_character_id_calendar_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_characters_character_id_calendar_holder);
try {
synchronized (get_characters_character_id_calendar_holder) {
LockWatchDog.BARKER.hld(get_characters_character_id_calendar_holder);
{
ret = get_characters_character_id_calendar_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<R_get_characters_character_id_calendar>();
get_characters_character_id_calendar_holder.put(param, ret);
ListHolderImpl<R_get_characters_character_id_calendar> finalRet = ret;
(cache).addFetchCacheArray("get_characters_character_id_calendar", (page, properties) -> (cache.swagger).get_characters_calendar(character_id, from_event, properties), arr -> finalRet.set(arr));
}
}
LockWatchDog.BARKER.rel(get_characters_character_id_calendar_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_characters_character_id_calendar_holder);
}
}
return ret;
}
Aggregations