IDEMPIERE-491 Caching data can generate problem. Refactor the caching code, added distributed cache and cluster wide cache reset support.

This commit is contained in:
Heng Sin Low 2012-11-21 17:07:39 +08:00
parent c8b4a158b7
commit ef584a5f60
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class MBank extends X_C_Bank
/** Cache */ /** Cache */
private static CCache<Integer,MBank> s_cache = private static CCache<Integer,MBank> s_cache =
new CCache<Integer,MBank> ("C_Bank", 3); new CCache<Integer,MBank> (Table_Name, 3);
/************************************************************************** /**************************************************************************

View File

@ -56,7 +56,7 @@ public class MBankAccount extends X_C_BankAccount
/** Cache */ /** Cache */
private static CCache<Integer,MBankAccount> s_cache private static CCache<Integer,MBankAccount> s_cache
= new CCache<Integer,MBankAccount>("C_BankAccount", 5); = new CCache<Integer,MBankAccount>(Table_Name, 5);
/** /**
* Bank Account Model * Bank Account Model