All Downloads are FREE. Search and download functionalities are using the official Maven repository.

blazingcache.client.management.CacheClientStatisticsMXBean Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
/*
 * Copyright 2016 Diennea S.R.L..
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package blazingcache.client.management;

/**
 * BlazingCache client's statistics.
 * 

* Statistics are counted starting from client's last reboot. *

* Each cache's statistics object is registered with an unique ObjectName with * the following type: *

* Type: * blazingcache.client.management:type=CacheClientStatistics *

* Required Attributes: *

    *
  • CacheClient the id of the client cache
  • *
* * @author matteo.casadei * @since 1.5.0 */ public interface CacheClientStatisticsMXBean { /** * Reset all the statistics. */ void clear(); /** * The number of puts performed by the client since last reboot. * * @return the no. of puts */ long getClientPuts(); /** * The number of loads performed by the client since last reboot. * * @return the no. of loads */ long getClientLoads(); /** * The number of touches performed by the client since last reboot. * * @return the no. of touches */ long getClientTouches(); /** * The number of gets performed since last reboot. * * @return the no. of gets */ long getClientGets(); /** * The number of fetches since last reboot. * * @return the no. of fetches */ long getClientFetches(); /** * The number of evictions performed by the client since last reboot. * * @return the no. of evictions */ long getClientEvictions(); /** * The number of invalidations performed by the client since last reboot. * * @return the no. of invalidations */ long getClientInvalidations(); /** * The number of hits occurred in the client since last reboot. * * @return the no. of hits */ long getClientHits(); /** * The number successful reads that required a remote read, i.e. successful fetches requiring a remote connection. *

* The value is devised since client's last reboot. * * @return the no. of missed gets to successful fetch */ long getClientMissedGetsToSuccessfulFetches(); /** * The total number of unsuccessful reads: the data requested via fetch was present neither locally nor remotely. *

* This value is devised considering client's last reboot. * * @return the no. of missed gets to missed fetch */ long getClientMissedGetsToMissedFetches(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy