public class FeedResult extends Object
| Constructor and Description |
|---|
FeedResult(long timeStart)
builds a new FeedResult
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
increments added counter.
|
int |
getAdded() |
int |
getMarked() |
int |
getSkipped() |
long |
getTime()
method calculates the time elapsed since the feed process has started.
|
void |
mark()
increments marked counter.
|
FeedResult |
setTimeElapsed(long timeElapsed) |
void |
skip()
increments skipped counter.
|
String |
toString() |
public FeedResult(long timeStart)
timeStart - the start time of feed process.public void add()
public void mark()
public void skip()
public int getAdded()
public int getSkipped()
public int getMarked()
public long getTime()
public FeedResult setTimeElapsed(long timeElapsed)
Copyright © 2018. All rights reserved.