public class Statistics extends Object
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
void |
addGetTime(long duration) |
void |
addPutTime(long duration) |
void |
addRemoveTime(long duration) |
long |
getEvictions() |
long |
getHits() |
long |
getMisses() |
long |
getPuts() |
long |
getRemovals() |
long |
getTimeTakenForGets() |
long |
getTimeTakenForPuts() |
long |
getTimeTakenForRemovals() |
void |
increaseEvictions(long number) |
void |
increaseExpiries(long number) |
void |
increaseHits(long number) |
void |
increaseMisses(long number) |
void |
increasePuts(long number) |
void |
increaseRemovals(long number) |
void |
reset() |
void |
setActive(boolean active) |
public Statistics()
public long getHits()
public long getMisses()
public long getPuts()
public long getRemovals()
public long getEvictions()
public long getTimeTakenForGets()
public long getTimeTakenForPuts()
public long getTimeTakenForRemovals()
public void increaseRemovals(long number)
public void increaseExpiries(long number)
public void increasePuts(long number)
public void increaseHits(long number)
public void increaseMisses(long number)
public void increaseEvictions(long number)
public void addGetTime(long duration)
public void addPutTime(long duration)
public void addRemoveTime(long duration)
public void reset()
public void setActive(boolean active)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.