case LogCenterConstants.SYNC_API_TYPE_NOTIFY:
case LogCenterConstants.SYNC_API_TYPE_NOTIFY_ALL:
case LogCenterConstants.SYNC_API_TYPE_OTHER:
+ if(((DAChartBoardItem)item).getChartBoard() != null){
+ stateItem = new DAChartSeriesItem(syncEvent.getTime(),
+ DAChartSeriesItem.SERIES_STATE_CONNECTION,
+ ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
+ "");
+ } else {
stateItem = new DAChartSeriesItem(syncEvent.getTime(),
DAChartSeriesItem.SERIES_STATE_CONNECTION,
ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
ThreadPageLabels.SYNC_CHART_ITEM_UNUSED);
-
+ }
apiItem = createApiItem(syncEvent, errorNum);
stateSeries.addSeriesItem(stateItem);
apiSeries.addSeriesItem(apiItem);
break;
case LogCenterConstants.SYNC_API_TYPE_ACQUIRE_WAIT_START:
case LogCenterConstants.SYNC_API_TYPE_COND_WAIT_START:
+ if(((DAChartBoardItem)item).getChartBoard() != null){
+ stateItem = new DAChartSeriesItem(syncEvent.getTime(),
+ DAChartSeriesItem.SERIES_STATE_CONNECTION,
+ ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
+ "");
+ } else{
stateItem = new DAChartSeriesItem(syncEvent.getTime(),
DAChartSeriesItem.SERIES_STATE_CONTINUE,
ColorResources.THREAD_GRAPH_LOCK_WAIT_COLOR,
ThreadPageLabels.SYNC_CHART_ITEM_WAITED);
+ }
apiItem = createApiItem(syncEvent, errorNum);
stateSeries.addSeriesItem(stateItem);
apiSeries.addSeriesItem(apiItem);
break;
case LogCenterConstants.SYNC_API_TYPE_RELEASE:
+ if(((DAChartBoardItem)item).getChartBoard() != null){
+ stateItem = new DAChartSeriesItem(syncEvent.getTime(),
+ DAChartSeriesItem.SERIES_STATE_CONNECTION,
+ ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
+ "");
+ } else{
stateItem = new DAChartSeriesItem(syncEvent.getTime(),
DAChartSeriesItem.SERIES_STATE_CONNECTION,
ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
ThreadPageLabels.SYNC_CHART_ITEM_UNUSED);
+ }
apiItem = createApiItem(syncEvent, errorNum);
stateSeries.addSeriesItem(stateItem);
apiSeries.addSeriesItem(apiItem);
break;
case LogCenterConstants.SYNC_API_TYPE_ACQUIRE_WAIT_END:
case LogCenterConstants.SYNC_API_TYPE_COND_WAIT_END:
+ if(((DAChartBoardItem)item).getChartBoard() != null){
+ stateItem = new DAChartSeriesItem(syncEvent.getTime(),
+ DAChartSeriesItem.SERIES_STATE_CONNECTION,
+ ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
+ "");
+ } else{
stateItem = new DAChartSeriesItem(syncEvent.getTime(),
DAChartSeriesItem.SERIES_STATE_CONTINUE,
ColorResources.THREAD_GRAPH_LOCK_ACQUIRE_COLOR,
ThreadPageLabels.SYNC_CHART_ITEM_USED);
+ }
stateSeries.addSeriesItem(stateItem);
break;
case LogCenterConstants.SYNC_API_TYPE_TRY_ACQUIRE:
+ if(((DAChartBoardItem)item).getChartBoard() != null){
+ stateItem = new DAChartSeriesItem(syncEvent.getTime(),
+ DAChartSeriesItem.SERIES_STATE_CONNECTION,
+ ColorResources.THREAD_GRAPH_LOCK_RELEASE_COLOR,
+ "");
+ } else{
stateItem = new DAChartSeriesItem(syncEvent.getTime(),
DAChartSeriesItem.SERIES_STATE_CONTINUE,
ColorResources.THREAD_GRAPH_LOCK_ACQUIRE_COLOR,
ThreadPageLabels.SYNC_CHART_ITEM_USED);
+ }
apiItem = createApiItem(syncEvent, errorNum);
stateSeries.addSeriesItem(stateItem);
apiSeries.addSeriesItem(apiItem);