|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITemporalWorkspaceStatistics
Provides access to properties and methods needed to manage message rate statistics in workspace.
This interface provides properties to indicate track count, message rate, sample size, total number of messages received, total number of messages pulled, total messages discarded, total number of messages queued for each temporal feature class under the workspace or workspace factory. This interface also provides methods to reset total feature count, message rate and sample size for all temporal feature classes under the workspace or workspace factory.
ITemporalWorkspaceStatistics provides a central location to obtain the statistics for all of the feature classes contained in the workspace.
ITemporalFeatureClassStatistics
Method Summary | |
---|---|
IPropertySet |
getAllMessageRates()
Indicates message rate for each TemporalFeatureClass under the workspace or workspace factory. |
IPropertySet |
getAllSampleSizes()
Indicates sample size used for calculating message rate for each TemporalFeatureClass under the workspace or workspace factory. |
IPropertySet |
getAllTotalFeatureCounts()
Indicates the total number of features logged for each TemporalFeatureClass under the workspace or workspace factory. |
IPropertySet |
getAllTrackCounts()
Indicates track count for each TemporalFeatureClass under the workspace or workspace factory. |
IPropertySet |
getConnectionStatus()
Indicates the connection status of each workspace under the workspace factory |
IPropertySet |
getCurrentDiscardedMessageCounts()
Indicates current number of messages discarded. |
IPropertySet |
getDiscardedMessageCounts()
Indicates total number of messages discarded. |
IPropertySet |
getPulledMessageCounts()
Indicates total number of messages pulled. |
IPropertySet |
getQueuedMessageCounts()
Indicates total number of messages queued. |
IPropertySet |
getReceivedMessageCounts()
Indicates total number of messages received. |
void |
resetAllFeatureCounts()
Resets total feature count for each TemporalFeatureClass under the workspace or workspace factory. |
void |
resetAllMessageRates()
Resets message rate for each TemporalFeatureClass under the workspace or workspace factory. |
void |
setAllSampleSizes(int lSampleSize)
Sets sample size for each TemporalFeatureClass under the workspace or workspace factory. |
Method Detail |
---|
IPropertySet getAllTrackCounts() throws IOException, AutomationException
This property provides the caller track count for each temporal feature class under the workspace or workspace factory. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_FeatureClassName” in the property set. If the function is called by a workspace object, the name of each property shows as “FeatureClassName” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllTrackCounts()
,
ITemporalFeatureClassStatistics.getTrackCount()
IPropertySet getAllMessageRates() throws IOException, AutomationException
This property provides the caller message rate (per second) for each temporal feature class under the workspace or workspace factory. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_FeatureClassName” in the property set. If the function is called by a workspace object, the name of each property shows as “FeatureClassName” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllSampleSizes()
,
ITemporalWorkspaceStatistics.setAllSampleSizes(int)
IPropertySet getAllSampleSizes() throws IOException, AutomationException
This property provides the caller sample size for each temporal feature class under the workspace or workspace factory. Sample size is the maximum number of most current samples used for computing message rate. If the total number of samples is less than the sample size, the total number of samples will be used for computing message rate. The default sample size is 500. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_FeatureClassName” in the property set. If the function is called by a workspace object, the name of each property shows as “FeatureClassName” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllMessageRates()
,
ITemporalWorkspaceStatistics.setAllSampleSizes(int)
IPropertySet getAllTotalFeatureCounts() throws IOException, AutomationException
This property provides the caller total feature count for each temporal feature class under the workspace or workspace factory. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_FeatureClassName” in the property set. If the function is called by a workspace object, the name of each property shows as “FeatureClassName” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.resetAllFeatureCounts()
IPropertySet getConnectionStatus() throws IOException, AutomationException
This property provides the caller connection status (esriWorkspaceConnectionStatus.esriWCSUp or esriWorkspaceConnectionStatus.esriWCSDown) for the workspace or each workspace under the workspace factory. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_ConnectionName” in the property set. If the function is called by a workspace object, the name of each property shows as “ConnectionName” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getReceivedMessageCounts() throws IOException, AutomationException
This property provides the caller total received message count for the workspace or each workspace under the workspace factory. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_Received Message Count” in the property set. If the function is called by a workspace object, the name of each property shows as “Received Message Count” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getPulledMessageCounts() throws IOException, AutomationException
This property provides the caller total pulled message count for the workspace or each workspace under the workspace factory. Tracking Analyst stores received messages in an internal queue. Pulled message count is needed because some received messages could be discarded from the queue once the queue grows to exceed its pre-defined size. It could happen when, for instance, Tracking Analyst cannot process received messages at a rate faster than they are arriving. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_Pulled Message Count” in the property set. If the function is called by a workspace object, the name of each property shows as “Pulled Message Count” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getDiscardedMessageCounts() throws IOException, AutomationException
This property provides the caller discarded message count for the workspace or each workspace under the workspace factory. Tracking Analyst stores received messages in an internal queue. Some messages could be discarded from the queue once the queue grows to exceed its pre-defined size. It could happen when, for instance, Tracking Analyst cannot process received messages at a rate faster than they are arriving. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_Discarded Message Count” in the property set. If the function is called by a workspace object, the name of each property shows as “Discarded Message Count” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getCurrentDiscardedMessageCounts() throws IOException, AutomationException
This property provides the caller current discarded message count for the workspace or each workspace under the workspace factory. Tracking Analyst stores received messages in an internal queue. Some messages could be discarded from the queue once the queue grows to exceed its pre-defined size. It could happen when, for instance, Tracking Analyst cannot process received messages at a rate faster than they are arriving. The difference between current discarded message count and discarded message count is that current discarded message count resets once the internal message queue is no long full whereas discarded message count does not reset. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_Discarded Message Count” in the property set. If the function is called by a workspace object, the name of each property shows as “Discarded Message Count” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getQueuedMessageCounts() throws IOException, AutomationException
This property provides the caller queued message count for the workspace or each workspace under the workspace factory. Tracking Analyst stores received messages in an internal queue before they are pulled for processing. Queued message count indicates the number of messages currently in the queue waiting to be processed. If the function is called by a workspace factory object, the name of each property shows as “WorkspaceName_Discarded Message Count” in the property set. If the function is called by a workspace object, the name of each property shows as “Discarded Message Count” in the property set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetAllFeatureCounts() throws IOException, AutomationException
This method resets total feature count to zero for each temporal feature class under the workspace or workspace factory. This method is typically used when the user wants to count the total number of new features after a specific event or time.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllTotalFeatureCounts()
void resetAllMessageRates() throws IOException, AutomationException
This method resets message rate for each temporal feature class under the workspace or workspace factory. The message rate is determined by sampling a number (sample size) of received features. After the method is called, message rates will be calculated using only new features received after the method call. This method is typically used when the rate of incoming message changes so that historical data may affect the accuracy of the current message rate.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllMessageRates()
void setAllSampleSizes(int lSampleSize) throws IOException, AutomationException
This method sets sample size for each temporal feature class under the workspace or workspace factory. Sample size is the number of samples used for calculating the message rate for a temporal feature class. (If the total number of messages received is less than the sample size, the message rate will be calculated based on the messages received.) The default value of sample size is 500.
lSampleSize
- The lSampleSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITemporalWorkspaceStatistics.getAllMessageRates()
,
ITemporalWorkspaceStatistics.getAllSampleSizes()
,
ITemporalFeatureClassStatistics.getMessageRate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |