public int add ( Object dependency , ValueSet valueSet ) { int returnCode = HTODDynacache . NO_EXCEPTION ; if ( dependencyToEntryTable . size ( ) >= this . maxSize ) { returnCode = reduceTableSize ( ) ; } dependencyNotUpdatedTable . put ( dependency , valueSet ) ; dependencyToEntryTable . put ( dependency , valueSet ) ; return returnCode ; }
This adds a new dependency with its valueSet to the DependencyToEntryTable .