use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_6_Long_int in project JCELechat by guiguilechat.
the class Characters method wallet_transactions.
/**
* Get wallet transactions of a character
*
* cache over {@link Swagger#get_characters_wallet_transactions}<br />
*
* @param character_id
* An EVE character ID
* @param from_id
* Only show transactions happened before the one referenced by this id
*/
public ListHolder<R_get_characters_character_id_wallet_transactions> wallet_transactions(int character_id, Long from_id) {
K_6_Long_int param = new K_6_Long_int(from_id, character_id);
ListHolderImpl<R_get_characters_character_id_wallet_transactions> ret = get_characters_character_id_wallet_transactions_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_characters_character_id_wallet_transactions_holder);
try {
synchronized (get_characters_character_id_wallet_transactions_holder) {
LockWatchDog.BARKER.hld(get_characters_character_id_wallet_transactions_holder);
{
ret = get_characters_character_id_wallet_transactions_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<R_get_characters_character_id_wallet_transactions>();
get_characters_character_id_wallet_transactions_holder.put(param, ret);
ListHolderImpl<R_get_characters_character_id_wallet_transactions> finalRet = ret;
(cache).addFetchCacheArray("get_characters_character_id_wallet_transactions", (page, properties) -> (cache.swagger).get_characters_wallet_transactions(character_id, from_id, properties), arr -> finalRet.set(arr));
}
}
LockWatchDog.BARKER.rel(get_characters_character_id_wallet_transactions_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_characters_character_id_wallet_transactions_holder);
}
}
return ret;
}
Aggregations