Added method: doesSubnodeChecking() to disable subnode checks.
This commit is contained in:
parent
07ab01490f
commit
a974b77f62
1 changed files with 9 additions and 0 deletions
|
@ -696,6 +696,15 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, Runn
|
||||||
xmlrpcAccess.checkAccess (proto, method);
|
xmlrpcAccess.checkAccess (proto, method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Decides whether subnode condition should be checked for cached nodes. This is on by default
|
||||||
|
* and can be switched off by adding "subnodeChecking=false" in the app.properties file.
|
||||||
|
* It is recommended to leave it on except you suffer severe performance problems and know what you do.
|
||||||
|
*/
|
||||||
|
public boolean doesSubnodeChecking () {
|
||||||
|
return "false".equalsIgnoreCase (props.getProperty ("subnodeChecking"));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Reference in a new issue