changed name of function to turn of GBC in DBBean and some refactoring in the GBC

This commit is contained in:
Ziver Koc 2016-01-29 11:12:07 +01:00
parent 7466e02fd9
commit 3f12f5cc45
3 changed files with 29 additions and 25 deletions

View file

@ -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(){}
}