code: @FFDCIgnore(IllegalArgumentException.class)
      private Integer evaluateMaxResults(boolean immediateOnly) {
          try {
              return elHelper.processInt("maxResultsExpression", this.idStoreDefinition.maxResultsExpression(), this.idStoreDefinition.maxResults(), immediateOnly);
          } catch (IllegalArgumentException e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isWarningEnabled()) {
                  Tr.warning(tc, "JAVAEESEC_WARNING_IDSTORE_CONFIG", new Object[] { "maxResults/maxResultsExpression", "1000" });
              }
              return 1000; /* Default value from spec. */
          }
      }
docs: Evaluate and return the maxResults.
  
  @param immediateOnly If true, only return a non-null value if the setting is either an
  immediate EL expression or not set by an EL expression. If false, return the
  value regardless of where it is evaluated.
  @return The maxResults or null if immediateOnly==true AND the value is not evaluated
  from a deferred EL expression.