|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.location.LoadBalancingUtils.MirrorInfo
private static final class LoadBalancingUtils.MirrorInfo
Immutable info on interaction with one remote mirror.
| Field Summary | |
|---|---|
(package private) java.lang.Thread |
checker
Non-null if being checked in background by thread; null if not being checked. |
(package private) java.lang.Boolean |
isUp
TRUE if the mirror seems to be up and working and accessible. |
(package private) long |
validUntil
Time that this info is valid until. |
| Constructor Summary | |
|---|---|
LoadBalancingUtils.MirrorInfo(java.lang.Boolean isUp,
java.lang.Thread t)
Make a new instance with a suitable lifetime... |
|
| Method Summary | |
|---|---|
(package private) boolean |
canExpire()
If true then this entry can be expired. |
(package private) boolean |
expiresSoon()
If true then this entry will expire soon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final long validUntil
final java.lang.Boolean isUp
final java.lang.Thread checker
| Constructor Detail |
|---|
LoadBalancingUtils.MirrorInfo(java.lang.Boolean isUp,
java.lang.Thread t)
| Method Detail |
|---|
boolean canExpire()
boolean expiresSoon()
This is true if the validUntil time will pass soon and there is no thread working on this host/entry.
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||