|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.CheckoutManager.Progress
public static final class CheckoutManager.Progress
Information on the progress of a checkout operation from CheckoutManager. This provides a snapshot of the progress at the time of request. The values in this class do not change again once the class is created. To retrieve the current progress, use CheckoutManager.getProgress().
CheckoutManager,
CheckoutManager.getProgress()| Nested Class Summary | |
|---|---|
static class |
CheckoutManager.Progress.Phase
Information on the phase of a checkout progress of the Checkout operation from CheckoutManager. |
static class |
CheckoutManager.Progress.Statistics
A Statistical summary that tracks the progress of the checkout |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a snapshot of this Progress object. |
int[] |
getCheckoutThreadIndices()
Returns the an array of all thread indices used for checkout This includes cache agent threads, if any, and the thread on which server based checkout may occur. |
File |
getCurrentFile(int threadIndex)
Get the current StarTeam Item object that is being processed in the current phase. |
CheckoutManager.Progress.Phase |
getCurrentPhase()
Return the Phase associated with this Progress. |
long |
getCurrentPhaseEstimatedTimeRemaining()
Return the estimated time remaining in milliseconds. |
long |
getCurrentPhaseUnitsOfWork()
Get the total number of units of work. |
long |
getCurrentPhaseUnitsOfWorkProcessed()
Return the number of units of work that has been processed in this phase. |
long |
getCurrentPhaseUnitsOfWorkRemaining()
Get the total number of units of work that are yet to be done. |
java.io.File |
getCurrentWorkingFile()
Get the current File object that's being checked in. |
java.lang.String |
getDescription()
Return a description of the current state of Progress. |
java.lang.Throwable |
getLastError()
Get the last error, if any, that occurred during the last checkout operation. |
DateTime |
getSnapshotTime()
Return the snapshot time that is set when the last clone was created. |
CheckoutManager.Progress.Statistics |
getStatisticsByThread(int threadIndex)
// ------------------------------------------------------------------ ------- // Any of the following methods that returns a Statistics object may return null if // the current phase does not support Statistics. |
CheckoutManager.Progress.Statistics |
getStatisticsForCacheAgentCheckout()
returns aggregated statistics for all Cache Agent Threads. |
CheckoutManager.Progress.Statistics |
getStatisticsForStarTeamServerCheckout()
returns statistics for the one & only non-cache agent thread. |
CheckoutManager.Progress.Statistics |
getSummaryStatistics()
returns aggregated statistics across all threads. |
long |
getTotalFilesForCheckout()
Get the total number of files for checkout. |
long |
getTotalTimeSpent()
Get the total time spent so far (in milliseconds). |
java.lang.String |
toString()
returns a String representation of the Progress instance now; useful for debugging |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public long getTotalFilesForCheckout()
public long getTotalTimeSpent()
public long getCurrentPhaseUnitsOfWork()
public long getCurrentPhaseUnitsOfWorkRemaining()
public java.lang.Throwable getLastError()
public CheckoutManager.Progress.Phase getCurrentPhase()
public long getCurrentPhaseUnitsOfWorkProcessed()
public long getCurrentPhaseEstimatedTimeRemaining()
public java.lang.String getDescription()
public java.io.File getCurrentWorkingFile()
public File getCurrentFile(int threadIndex)
threadIndex - the thread on which this file is being checked out
public CheckoutManager.Progress.Statistics getStatisticsByThread(int threadIndex)
threadIndex - the thread used for the checkout
public CheckoutManager.Progress.Statistics getStatisticsForCacheAgentCheckout()
public CheckoutManager.Progress.Statistics getStatisticsForStarTeamServerCheckout()
public CheckoutManager.Progress.Statistics getSummaryStatistics()
public int[] getCheckoutThreadIndices()
public java.lang.Object clone()
clone in class java.lang.Objectpublic DateTime getSnapshotTime()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||