From ad41085e4ca8a32e29d443591069ec4e94e65067 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 02 Oct 2015 15:34:44 +0000
Subject: [PATCH] AutoRefactor'ed the pluggable and PDB backend
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendMonitor.java | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendMonitor.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendMonitor.java
index 0fcf950..90e4ee4 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendMonitor.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendMonitor.java
@@ -48,7 +48,6 @@
*/
class BackendMonitor extends MonitorProvider<MonitorProviderCfg>
{
-
/** Represents the statistical information kept for each search filter. */
private static class FilterStats implements Comparable<FilterStats>
{
@@ -106,7 +105,6 @@
this.rootContainer = rootContainer;
}
- /** {@inheritDoc} */
@Override
public void initializeMonitorProvider(MonitorProviderCfg configuration)
throws ConfigException, InitializationException
@@ -187,7 +185,6 @@
return monitorAttrs;
}
-
/**
* Updates the index filter statistics with this latest search filter
* and the reason why an index was not used.
@@ -207,7 +204,6 @@
{
stats = filterToStats.get(searchFilter);
-
if(stats != null)
{
stats.update(1, failureMessage);
@@ -242,7 +238,6 @@
{
stats = filterToStats.get(searchFilter);
-
if(stats != null)
{
stats.update(1, matchingEntries);
@@ -299,9 +294,7 @@
this.maxEntries = maxEntries;
}
- /**
- * Updates the statistics counter to include an indexed search.
- */
+ /** Updates the statistics counter to include an indexed search. */
void updateIndexedSearchCount()
{
if (filterUseEnabled)
@@ -310,9 +303,7 @@
}
}
- /**
- * Updates the statistics counter to include an unindexed search.
- */
+ /** Updates the statistics counter to include an unindexed search. */
void updateUnindexedSearchCount()
{
if (filterUseEnabled)
--
Gitblit v1.10.0