Class ServiceRuntimeList.ServiceItem
java.lang.Object
ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
ru.bitel.bgbilling.modules.tv.server.runtime.ServiceRuntimeList.ServiceItem
- All Implemented Interfaces:
Comparable<Delayed>
,Delayed
- Enclosing class:
- ServiceRuntimeList
public static final class ServiceRuntimeList.ServiceItem
extends ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
implements Delayed
-
Field Summary
Modifier and TypeFieldDescriptionshort
final int
final int
int
Fields inherited from class ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
id, timeFrom, timeTo
-
Constructor Summary
ConstructorDescriptionServiceItem
(int productId, int serviceSpecId, int serviceId, long timeFrom, long timeTo) ServiceItem
(int productId, int serviceSpecId, int serviceId, Date timeFrom, Date timeTo) -
Method Summary
-
Field Details
-
serviceSpecId
public final int serviceSpecId -
serviceId
public final int serviceId -
deviceState
public volatile short deviceState -
version
public volatile int version
-
-
Constructor Details
-
ServiceItem
-
ServiceItem
public ServiceItem(int productId, int serviceSpecId, int serviceId, long timeFrom, long timeTo)
-
-
Method Details
-
getDelay
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Delayed>
-
toService
-
toString
- Overrides:
toString
in classru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
-