use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_20_int_int in project JCELechat by guiguilechat.
the class Corporations method wallets_journal.
/**
* Retrieve the given corporation's wallet journal for the given division going 30 days back
*
* cache over {@link Swagger#get_corporations_wallets_journal}<br />
*
* @param corporation_id
* An EVE corporation ID
* @param division
* Wallet key of the division to fetch journals from
*/
public ListHolder<M_get_journal_13> wallets_journal(int corporation_id, int division) {
K_20_int_int param = new K_20_int_int(division, corporation_id);
ListHolderImpl<M_get_journal_13> ret = get_corporations_corporation_id_wallets_division_journal_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_corporations_corporation_id_wallets_division_journal_holder);
try {
synchronized (get_corporations_corporation_id_wallets_division_journal_holder) {
LockWatchDog.BARKER.hld(get_corporations_corporation_id_wallets_division_journal_holder);
{
ret = get_corporations_corporation_id_wallets_division_journal_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<M_get_journal_13>();
get_corporations_corporation_id_wallets_division_journal_holder.put(param, ret);
ListHolderImpl<M_get_journal_13> finalRet = ret;
(cache).addFetchCacheArray("get_corporations_corporation_id_wallets_division_journal", (page, properties) -> (cache.swagger).get_corporations_wallets_journal(corporation_id, division, page, properties), arr -> finalRet.set(arr), new String[] { "Accountant", "Junior_Accountant" });
}
}
LockWatchDog.BARKER.rel(get_corporations_corporation_id_wallets_division_journal_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_corporations_corporation_id_wallets_division_journal_holder);
}
}
return ret;
}
Aggregations