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