public class TimeSlice
extends java.lang.Object
ThrottlingInterceptor
.In the adapter configuration file this class is aliased as time-slice which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
TimeSlice() |
TimeSlice(long end,
int count) |
Modifier and Type | Method and Description |
---|---|
long |
getEndMillis() |
int |
getTotalMessageCount() |
void |
setEndMillis(long endMillis) |
void |
setTotalMessageCount(int messageCount) |
java.lang.String |
toString() |
public long getEndMillis()
public void setEndMillis(long endMillis)
public int getTotalMessageCount()
public void setTotalMessageCount(int messageCount)
public java.lang.String toString()
toString
in class java.lang.Object