use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_8_int_int in project JCELechat by guiguilechat.
the class Corporations method contracts_bids.
/**
* Lists bids on a particular auction contract
*
* cache over {@link Swagger#get_corporations_contracts_bids}<br />
*
* @param contract_id
* ID of a contract
* @param corporation_id
* An EVE corporation ID
*/
public ListHolder<M_get_contracts_contract_bids_4> contracts_bids(int contract_id, int corporation_id) {
K_8_int_int param = new K_8_int_int(corporation_id, contract_id);
ListHolderImpl<M_get_contracts_contract_bids_4> ret = get_corporations_corporation_id_contracts_contract_id_bids_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_corporations_corporation_id_contracts_contract_id_bids_holder);
try {
synchronized (get_corporations_corporation_id_contracts_contract_id_bids_holder) {
LockWatchDog.BARKER.hld(get_corporations_corporation_id_contracts_contract_id_bids_holder);
{
ret = get_corporations_corporation_id_contracts_contract_id_bids_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<M_get_contracts_contract_bids_4>();
get_corporations_corporation_id_contracts_contract_id_bids_holder.put(param, ret);
ListHolderImpl<M_get_contracts_contract_bids_4> finalRet = ret;
(cache).addFetchCacheArray("get_corporations_corporation_id_contracts_contract_id_bids", (page, properties) -> (cache.swagger).get_corporations_contracts_bids(contract_id, corporation_id, page, properties), arr -> finalRet.set(arr));
}
}
LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_bids_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_bids_holder);
}
}
return ret;
}
use of fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_8_int_int in project JCELechat by guiguilechat.
the class Corporations method contracts_items.
/**
* Lists items of a particular contract
*
* cache over {@link Swagger#get_corporations_contracts_items}<br />
*
* @param contract_id
* ID of a contract
* @param corporation_id
* An EVE corporation ID
*/
public ListHolder<M_get_contracts_contract_items_6> contracts_items(int contract_id, int corporation_id) {
K_8_int_int param = new K_8_int_int(corporation_id, contract_id);
ListHolderImpl<M_get_contracts_contract_items_6> ret = get_corporations_corporation_id_contracts_contract_id_items_holder.get(param);
if (ret == null) {
LockWatchDog.BARKER.tak(get_corporations_corporation_id_contracts_contract_id_items_holder);
try {
synchronized (get_corporations_corporation_id_contracts_contract_id_items_holder) {
LockWatchDog.BARKER.hld(get_corporations_corporation_id_contracts_contract_id_items_holder);
{
ret = get_corporations_corporation_id_contracts_contract_id_items_holder.get(param);
if (ret == null) {
ret = new ListHolderImpl<M_get_contracts_contract_items_6>();
get_corporations_corporation_id_contracts_contract_id_items_holder.put(param, ret);
ListHolderImpl<M_get_contracts_contract_items_6> finalRet = ret;
(cache).addFetchCacheArray("get_corporations_corporation_id_contracts_contract_id_items", (page, properties) -> (cache.swagger).get_corporations_contracts_items(contract_id, corporation_id, properties), arr -> finalRet.set(arr));
}
}
LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_items_holder);
}
} finally {
LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_items_holder);
}
}
return ret;
}
Aggregations