126 |
return closed.getThreshold(); |
return closed.getThreshold(); |
127 |
} |
} |
128 |
|
|
129 |
|
public int getTimeout() { |
130 |
|
return (int)open.getTimeout(); |
131 |
|
} |
132 |
|
|
133 |
public int getFailureCount() { |
public int getFailureCount() { |
134 |
if (getState() == closed) { |
if (getState() == closed) { |
135 |
return closed.getFailureCount(); |
return closed.getFailureCount(); |
151 |
} |
} |
152 |
|
|
153 |
public String getNotifierName() { |
public String getNotifierName() { |
154 |
return notifier.toString(); |
return notifier.getClass().getName(); |
155 |
} |
} |
156 |
|
|
157 |
} |
} |