changed name of function to turn of GBC in DBBean and some refactoring in the GBC
This commit is contained in:
parent
7466e02fd9
commit
3f12f5cc45
3 changed files with 29 additions and 25 deletions
|
|
@ -449,8 +449,8 @@ public abstract class DBBean {
|
|||
/**
|
||||
* This function cancels the internal cache garbage collector in DBBean
|
||||
*/
|
||||
public static void cancelGBC(){
|
||||
DBBeanSQLResultHandler.cancelGBC();
|
||||
public static void enableBeanGBC(boolean enable){
|
||||
DBBeanSQLResultHandler.enableBeanGBC(enable);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -461,5 +461,5 @@ public abstract class DBBean {
|
|||
/**
|
||||
* Will be called whenever the bean has been updated from the database.
|
||||
*/
|
||||
protected void updatePerformed(){}
|
||||
protected void postUpdateAction(){}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue