Use the getIntervalClassName method to identify intervals that have been
cancelled. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6542 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<dependency>
|
||||
<groupId>com.samskivert</groupId>
|
||||
<artifactId>samskivert</artifactId>
|
||||
<version>1.1</version>
|
||||
<version>1.3-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -428,6 +428,14 @@ public class PresentsDObjectMgr
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the current set of unit profiles.
|
||||
*/
|
||||
public void clearUnitProfiles ()
|
||||
{
|
||||
_profiles.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Called as a helper for <code>ObjectDestroyedEvent</code> events. It removes the object from
|
||||
* the object table.
|
||||
@@ -678,8 +686,8 @@ public class PresentsDObjectMgr
|
||||
// do some jiggery pokery to get more fine grained profiling details on certain
|
||||
// "popular" unit types
|
||||
if (unit instanceof Interval.RunBuddy) {
|
||||
Interval ival = ((Interval.RunBuddy)unit).getInterval();
|
||||
cname = StringUtil.shortClassName(ival);
|
||||
cname = StringUtil.shortClassName(
|
||||
((Interval.RunBuddy)unit).getIntervalClassName());
|
||||
} else if (unit instanceof InvocationRequestEvent) {
|
||||
InvocationRequestEvent ire = (InvocationRequestEvent)unit;
|
||||
Class<?> c = _invmgr.getDispatcherClass(ire.getInvCode());
|
||||
|
||||
Reference in New Issue
Block a user