mvcThreads.remove(this);
}
private void tryTrackEvent(MVCEvent argEvent) {
if (argEvent instanceof ITrackable) {
ITrackable event = (ITrackable) argEvent;
if (event.getTrackingCategory() != null
&& event.getTrackingAction() != null) {
if (event instanceof ICustomTracker) {
((ICustomTracker) event).getCustomTracker().trackEvent(
event.getTrackingCategory(),
event.getTrackingAction(),
event.getTrackingLabel(), event.getTrackingValue());
} else if (tracker != null) {
synchronized (trackerLock) {
tracker.trackEvent(event.getTrackingCategory(),
event.getTrackingAction(),
event.getTrackingLabel(),
event.getTrackingValue());
}
} else {
log.warn(
"Event could not be tracked, as the tracker is null",
event);