public class TrimSpec extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TRIM_SPEC_NAME |
protected static DateFormat |
formatter |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
end(long endTime) |
void |
endExtended(long endTime) |
long |
getEnd() |
String |
getEndStr() |
String |
getName() |
long |
getStart() |
String |
getStartStr() |
protected void |
setEnd(String dateStr,
Long timestamp) |
void |
setSamples(int count) |
protected void |
setStart(String dateStr,
Long timestamp) |
void |
start() |
void |
start(long startTime) |
void |
startExtended(long startTime) |
String |
toReportString() |
String |
toSpecString() |
String |
toString() |
public static String DEFAULT_TRIM_SPEC_NAME
protected static final DateFormat formatter
public TrimSpec(String name)
public String getName()
public long getStart()
public String getStartStr()
public long getEnd()
public String getEndStr()
public void start()
public void start(long startTime)
public void startExtended(long startTime)
public void end()
public void end(long endTime)
public void endExtended(long endTime)
public void setSamples(int count)
public String toSpecString()
public String toReportString()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.