| | |
| | | private int entries; |
| | | private boolean isConfigBackend; |
| | | private boolean isEnabled; |
| | | private CustomSearchResult monitoringEntry; |
| | | private Type type; |
| | | private int hashCode; |
| | | |
| | |
| | | { |
| | | equals = desc.getVLVIndexes().equals(getVLVIndexes()); |
| | | } |
| | | |
| | | if (equals) |
| | | { |
| | | // Compare monitoring entries |
| | | if (getMonitoringEntry() == null) |
| | | { |
| | | equals = desc.getMonitoringEntry() == null; |
| | | } |
| | | else |
| | | { |
| | | equals = getMonitoringEntry().equals(desc.getMonitoringEntry()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | else |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns the monitoring entry information. |
| | | * @return the monitoring entry information. |
| | | */ |
| | | public CustomSearchResult getMonitoringEntry() |
| | | { |
| | | return monitoringEntry; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public int hashCode() |
| | |
| | | } |
| | | |
| | | /** |
| | | * Sets the monitoring entry corresponding to this backend. |
| | | * @param monitoringEntry the monitoring entry corresponding to this backend. |
| | | */ |
| | | public void setMonitoringEntry(CustomSearchResult monitoringEntry) |
| | | { |
| | | this.monitoringEntry = monitoringEntry; |
| | | } |
| | | |
| | | /** |
| | | * Returns the type of the backend. |
| | | * @return the type of the backend. |
| | | */ |