8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * of the Common Development and Distribution License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * (the License). You may not use this file except in
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the License at
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * permission and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Header Notice in each file and include the License file
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below the CDDL Header,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * with the fields enclosed by brackets [] replaced by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * your own identifying information:
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * $Id: SsoServerIdRepoSvcImpl.java,v 1.2 2009/10/21 00:02:10 bigfatrat Exp $
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Portions Copyrighted 2011 ForgeRock AS
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * This class extends the "SsoServerIdRepoSvc" class.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpublic class SsoServerIdRepoSvcImpl extends SsoServerIdRepoSvc {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Constructor
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public SsoServerIdRepoSvcImpl (SnmpMib myMib) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public SsoServerIdRepoSvcImpl (SnmpMib myMib, MBeanServer server) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster private void init(SnmpMib myMib, MBeanServer server) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * corresponds to idm's updateSearchHitCount, which
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * increments totalSearchHits and totalIntervalHits
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public void incSearchCacheHits (long cacheEntries) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster IdRepoCacheEntries = Long.valueOf(cacheEntries);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * corresponds to idm's incrementGetRequestCount, which
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * increments totalGetRequests and intervalCount
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster IdRepoCacheEntries = Long.valueOf(cacheEntries);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * corresponds to idm's updateGetHitCount, which
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * increments totalGetCacheHits and totalIntervalHits
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster IdRepoCacheEntries = Long.valueOf(cacheEntries);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * corresponds to idm's incrementSearchRequestCount, which
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * increments totalSearchRequests and intervalCount
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public void incSearchRqts (long cacheEntries) {