private void parseCacheConfig ( final Node node , final ConfigSettings config ) { String name ; Long lValue ; Node nnode ; NodeList list = node . getChildNodes ( ) ; int length = list . getLength ( ) ; for ( int i = 0 ; i < length ; i ++ ) { nnode = list . item ( i ) ; name = nnode . getNodeName ( ) . toUpperCase ( ) ; if ( name . equals ( KEY_LIMIT_TASK_SIZE_REVISIONS ) ) { lValue = Long . parseLong ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . LIMIT_TASK_SIZE_REVISIONS , lValue ) ; } else if ( name . equals ( KEY_LIMIT_TASK_SIZE_DIFFS ) ) { lValue = Long . parseLong ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . LIMIT_TASK_SIZE_DIFFS , lValue ) ; } else if ( name . equals ( KEY_LIMIT_SQLSERVER_MAX_ALLOWED_PACKET ) ) { lValue = Long . parseLong ( nnode . getChildNodes ( ) . item ( 0 ) . getNodeValue ( ) ) ; config . setConfigParameter ( ConfigurationKeys . LIMIT_SQLSERVER_MAX_ALLOWED_PACKET , lValue ) ; } } }
Parses the cache parameter section .