Class LdapCounters
- java.lang.Object
-
- org.apache.directory.fortress.core.ldap.LdapCounters
-
public class LdapCounters extends Object
This class handles simple counters that correspond to ldap operations.
-
-
Constructor Summary
Constructors Constructor Description LdapCounters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAdd()
Return the add counter.long
getBind()
Return the bind counter.long
getCompare()
Return the compare counter.long
getDelete()
Return the delete counter.long
getMod()
Return the blank counter.long
getRead()
Return the read counter.long
getSearch()
Return the search counter.void
incrementAdd()
Increment the add counter.void
incrementBind()
Increment the bind counter.void
incrementCompare()
Increment the compare counter.void
incrementDelete()
Increment the delete counter.void
incrementMod()
Increment the mod counter.void
incrementRead()
Increment the read counter.void
incrementSearch()
Increment the search counter.
-
-
-
Method Detail
-
incrementSearch
public void incrementSearch()
Increment the search counter.
-
incrementRead
public void incrementRead()
Increment the read counter.
-
incrementCompare
public void incrementCompare()
Increment the compare counter.
-
incrementAdd
public void incrementAdd()
Increment the add counter.
-
incrementMod
public void incrementMod()
Increment the mod counter.
-
incrementDelete
public void incrementDelete()
Increment the delete counter.
-
incrementBind
public void incrementBind()
Increment the bind counter.
-
getSearch
public long getSearch()
Return the search counter.- Returns:
- long containing search.
-
getRead
public long getRead()
Return the read counter.- Returns:
- long containing read.
-
getCompare
public long getCompare()
Return the compare counter.- Returns:
- long containing compare.
-
getAdd
public long getAdd()
Return the add counter.- Returns:
- long containing add.
-
getMod
public long getMod()
Return the blank counter.- Returns:
- long containing blank.
-
getDelete
public long getDelete()
Return the delete counter.- Returns:
- long containing delete.
-
getBind
public long getBind()
Return the bind counter.- Returns:
- long containing bind.
-
-