public class ServicePollState extends Object implements Comparable<ServicePollState>, Serializable
ServicePollState class.
Constructor and Description |
---|
ServicePollState(PolledService polledService,
int index)
Constructor for ServicePollState.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ServicePollState that)
compareTo
|
boolean |
equals(Object o) |
int |
getIndex()
Deprecated.
SL 2015-12-15: I think this value is not used by any listeners
for
ServicePollStateChangedEvent) events. |
PollStatus |
getLastPoll()
getLastPoll
|
Date |
getLastPollTime()
getLastPollTime
|
Date |
getNextPollTime()
getNextPollTime
|
PolledService |
getPolledService()
getPolledService
|
int |
hashCode() |
void |
setInitialPollTime(Date initialPollTime)
setInitialPollTime
|
void |
setLastPoll(PollStatus lastPoll)
setLastPoll
|
public ServicePollState(PolledService polledService, int index)
Constructor for ServicePollState.
polledService
- a PolledService
object.index
- a int.public PollStatus getLastPoll()
getLastPoll
PollStatus
object.public void setLastPoll(PollStatus lastPoll)
setLastPoll
lastPoll
- a PollStatus
object.public int getIndex()
ServicePollStateChangedEvent)
events.public PolledService getPolledService()
getPolledService
PolledService
object.public void setInitialPollTime(Date initialPollTime)
setInitialPollTime
initialPollTime
- a Date
object.public int compareTo(ServicePollState that)
compareTo
compareTo
in interface Comparable<ServicePollState>
that
- a ServicePollState
object.Copyright © 2021. All rights reserved.