use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_4_Integer_int_Lint in project JCELechat by guiguilechat.
the class Characters method mail.
/**
* Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards
*
* cache over {@link Swagger#get_characters_mail}<br />
*
* @param character_id
* An EVE character ID
* @param labels
* Fetch only mails that match one or more of the given labels
* @param last_mail_id
* List only mail with an ID lower than the given ID, if present
*/
public ListHolder<R_get_characters_character_id_mail> mail(int character_id, int[] labels, Integer last_mail_id) {
K_4_Integer_int_Lint param = new K_4_Integer_int_Lint(last_mail_id, character_id, labels);
ListHolderImpl<R_get_characters_character_id_mail> ret = get_characters_character_id_mail_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_characters_character_id_mail_holder);
try {
synchronized (get_characters_character_id_mail_holder) {
LockWatchDog.BARKER.hld(get_characters_character_id_mail_holder);
{
ret = get_characters_character_id_mail_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<R_get_characters_character_id_mail>();
get_characters_character_id_mail_holder.put(param, ret);
ListHolderImpl<R_get_characters_character_id_mail> finalRet = ret;
(cache).addFetchCacheArray("get_characters_character_id_mail", (page, properties) -> (cache.swagger).get_characters_mail(character_id, labels, last_mail_id, properties), arr -> finalRet.set(arr));
}
}
LockWatchDog.BARKER.rel(get_characters_character_id_mail_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_characters_character_id_mail_holder);
}
}
return ret;
}
Aggregations