From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPStatistics.java | 94 +----------------------------------------------
1 files changed, 2 insertions(+), 92 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPStatistics.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPStatistics.java
index 17adf1d..0f47d08 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPStatistics.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPStatistics.java
@@ -116,7 +116,6 @@
private AtomicLong extOperationCount = new AtomicLong(0);
private AtomicLong extOperationTime = new AtomicLong(0);
-
/**
* Creates a new instance of this class with the specified parent.
*
@@ -128,9 +127,6 @@
this.instanceName = instanceName;
}
-
-
- /** {@inheritDoc} */
@Override
public void initializeMonitorProvider(MonitorProviderCfg configuration)
throws ConfigException
@@ -144,8 +140,6 @@
throw new ConfigException(message);
}
-
-
/**
* Retrieves the name of this monitor provider. It should be unique
* among all monitor providers, including all instances of the same
@@ -159,8 +153,6 @@
return instanceName;
}
-
- /** {@inheritDoc} */
@Override
public ObjectClass getMonitorObjectClass()
{
@@ -251,10 +243,7 @@
return attrs;
}
-
- /**
- * Clears any statistical information collected to this point.
- */
+ /** Clears any statistical information collected to this point. */
public void clearStatistics()
{
abandonRequests.set(0);
@@ -311,9 +300,6 @@
extOperationTime.set(0);
}
-
-
-
/**
* Updates the appropriate set of counters to indicate that a new
* connection has been established.
@@ -323,19 +309,12 @@
connectionsEstablished.getAndIncrement();
}
-
-
- /**
- * Updates the appropriate set of counters to indicate that a
- * connection has been closed.
- */
+ /** Updates the appropriate set of counters to indicate that a connection has been closed. */
public void updateDisconnect()
{
connectionsClosed.getAndIncrement();
}
-
-
/**
* Updates the appropriate set of counters to indicate that the
* specified number of bytes have been read by the client.
@@ -348,8 +327,6 @@
this.bytesRead.getAndAdd(bytesRead);
}
-
-
/**
* Updates the appropriate set of counters to indicate that the
* specified number of bytes have been written to the client.
@@ -362,8 +339,6 @@
this.bytesWritten.getAndAdd(bytesWritten);
}
-
-
/**
* Updates the appropriate set of counters based on the provided
* message that has been read from the client.
@@ -428,8 +403,6 @@
}
}
-
-
/**
* Updates the appropriate set of counters based on the provided
* message that has been written to the client.
@@ -490,8 +463,6 @@
}
}
-
-
/**
* Updates the appropriate set of counters to indicate that an
* operation was abandoned without sending a response to the client.
@@ -513,8 +484,6 @@
return connectionsEstablished.get();
}
-
-
/**
* Retrieves the number of client connections that have been closed.
*
@@ -525,8 +494,6 @@
return connectionsClosed.get();
}
-
-
/**
* Retrieves the number of bytes that have been received from clients.
*
@@ -537,8 +504,6 @@
return bytesRead.get();
}
-
-
/**
* Retrieves the number of bytes that have been written to clients.
*
@@ -549,8 +514,6 @@
return bytesWritten.get();
}
-
-
/**
* Retrieves the number of LDAP messages that have been received from
* clients.
@@ -563,8 +526,6 @@
return messagesRead.get();
}
-
-
/**
* Retrieves the number of LDAP messages that have been written to
* clients.
@@ -577,8 +538,6 @@
return messagesWritten.get();
}
-
-
/**
* Retrieves the number of operations that have been initiated by
* clients.
@@ -591,8 +550,6 @@
return operationsInitiated.get();
}
-
-
/**
* Retrieves the number of operations for which the server has
* completed processing.
@@ -605,8 +562,6 @@
return operationsCompleted.get();
}
-
-
/**
* Retrieves the number of operations that have been abandoned by
* clients.
@@ -619,8 +574,6 @@
return operationsAbandoned.get();
}
-
-
/**
* Retrieves the number of abandon requests that have been received.
*
@@ -631,8 +584,6 @@
return abandonRequests.get();
}
-
-
/**
* Retrieves the number of add requests that have been received.
*
@@ -643,8 +594,6 @@
return addRequests.get();
}
-
-
/**
* Retrieves the number of add responses that have been sent.
*
@@ -655,8 +604,6 @@
return addResponses.get();
}
-
-
/**
* Retrieves the number of bind requests that have been received.
*
@@ -667,8 +614,6 @@
return bindRequests.get();
}
-
-
/**
* Retrieves the number of bind responses that have been sent.
*
@@ -679,8 +624,6 @@
return bindResponses.get();
}
-
-
/**
* Retrieves the number of compare requests that have been received.
*
@@ -691,8 +634,6 @@
return compareRequests.get();
}
-
-
/**
* Retrieves the number of compare responses that have been sent.
*
@@ -703,8 +644,6 @@
return compareResponses.get();
}
-
-
/**
* Retrieves the number of delete requests that have been received.
*
@@ -715,8 +654,6 @@
return deleteRequests.get();
}
-
-
/**
* Retrieves the number of delete responses that have been sent.
*
@@ -727,8 +664,6 @@
return deleteResponses.get();
}
-
-
/**
* Retrieves the number of extended requests that have been received.
*
@@ -739,8 +674,6 @@
return extendedRequests.get();
}
-
-
/**
* Retrieves the number of extended responses that have been sent.
*
@@ -751,8 +684,6 @@
return extendedResponses.get();
}
-
-
/**
* Retrieves the number of modify requests that have been received.
*
@@ -763,8 +694,6 @@
return modifyRequests.get();
}
-
-
/**
* Retrieves the number of modify responses that have been sent.
*
@@ -775,8 +704,6 @@
return modifyResponses.get();
}
-
-
/**
* Retrieves the number of modify DN requests that have been received.
*
@@ -787,8 +714,6 @@
return modifyDNRequests.get();
}
-
-
/**
* Retrieves the number of modify DN responses that have been sent.
*
@@ -799,8 +724,6 @@
return modifyDNResponses.get();
}
-
-
/**
* Retrieves the number of search requests that have been received.
*
@@ -811,8 +734,6 @@
return searchRequests.get();
}
-
-
/**
* Retrieves the number of one-level search requests that have been received.
*
@@ -823,8 +744,6 @@
return searchOneRequests.get();
}
-
-
/**
* Retrieves the number of subtree search requests that have been received.
*
@@ -835,8 +754,6 @@
return searchSubRequests.get();
}
-
-
/**
* Retrieves the number of search result entries that have been sent.
*
@@ -847,8 +764,6 @@
return searchResultEntries.get();
}
-
-
/**
* Retrieves the number of search result references that have been
* sent.
@@ -860,8 +775,6 @@
return searchResultReferences.get();
}
-
-
/**
* Retrieves the number of search result done messages that have been
* sent.
@@ -874,8 +787,6 @@
return searchResultsDone.get();
}
-
-
/**
* Retrieves the number of unbind requests that have been received.
*
@@ -934,5 +845,4 @@
moddnOperationTime.getAndAdd(time);
}
}
-
}
--
Gitblit v1.10.0