本文整理汇总了Java中com.sun.jdi.event.MonitorContendedEnteredEvent类的典型用法代码示例。如果您正苦于以下问题:Java MonitorContendedEnteredEvent类的具体用法?Java MonitorContendedEnteredEvent怎么用?Java MonitorContendedEnteredEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MonitorContendedEnteredEvent类属于com.sun.jdi.event包,在下文中一共展示了MonitorContendedEnteredEvent类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: wrap
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
public static F3Event wrap(F3VirtualMachine f3vm, Event evt) {
if (evt == null) {
return null;
}
if (evt instanceof AccessWatchpointEvent) {
return new F3AccessWatchpointEvent(f3vm, (AccessWatchpointEvent)evt);
} else if (evt instanceof BreakpointEvent) {
return new F3BreakpointEvent(f3vm, (BreakpointEvent)evt);
} else if (evt instanceof ClassPrepareEvent) {
return new F3ClassPrepareEvent(f3vm, (ClassPrepareEvent)evt);
} else if (evt instanceof ClassUnloadEvent) {
return new F3ClassUnloadEvent(f3vm, (ClassUnloadEvent)evt);
} else if (evt instanceof ExceptionEvent) {
return new F3ExceptionEvent(f3vm, (ExceptionEvent)evt);
} else if (evt instanceof MethodEntryEvent) {
return new F3MethodEntryEvent(f3vm, (MethodEntryEvent)evt);
} else if (evt instanceof MethodExitEvent) {
return new F3MethodExitEvent(f3vm, (MethodExitEvent)evt);
} else if (evt instanceof ModificationWatchpointEvent) {
return new F3ModificationWatchpointEvent(f3vm, (ModificationWatchpointEvent)evt);
} else if (evt instanceof MonitorContendedEnterEvent) {
return new F3MonitorContendedEnterEvent(f3vm, (MonitorContendedEnterEvent)evt);
} else if (evt instanceof MonitorContendedEnteredEvent) {
return new F3MonitorContendedEnteredEvent(f3vm, (MonitorContendedEnteredEvent)evt);
} else if (evt instanceof MonitorWaitEvent) {
return new F3MonitorWaitEvent(f3vm, (MonitorWaitEvent)evt);
} else if (evt instanceof MonitorWaitedEvent) {
return new F3MonitorWaitedEvent(f3vm, (MonitorWaitedEvent)evt);
} else if (evt instanceof StepEvent) {
return new F3StepEvent(f3vm, (StepEvent)evt);
} else if (evt instanceof ThreadDeathEvent) {
return new F3ThreadDeathEvent(f3vm, (ThreadDeathEvent)evt);
} else if (evt instanceof ThreadStartEvent) {
return new F3ThreadStartEvent(f3vm, (ThreadStartEvent)evt);
} else if (evt instanceof VMDeathEvent) {
return new F3VMDeathEvent(f3vm, (VMDeathEvent)evt);
} else if (evt instanceof VMDisconnectEvent) {
return new F3VMDisconnectEvent(f3vm, (VMDisconnectEvent)evt);
} else if (evt instanceof VMStartEvent) {
return new F3VMStartEvent(f3vm, (VMStartEvent)evt);
} else if (evt instanceof WatchpointEvent) {
return new F3WatchpointEvent(f3vm, (WatchpointEvent)evt);
} else if (evt instanceof LocatableEvent) {
return new F3LocatableEvent(f3vm, (LocatableEvent)evt);
} else {
return new F3Event(f3vm, evt);
}
}
示例2: F3MonitorContendedEnteredEvent
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
public F3MonitorContendedEnteredEvent(F3VirtualMachine f3vm, MonitorContendedEnteredEvent underlying) {
super(f3vm, underlying);
}
示例3: underlying
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
@Override
protected MonitorContendedEnteredEvent underlying() {
return (MonitorContendedEnteredEvent) super.underlying();
}
示例4: VisitableMonitorContendedEnteredEvent
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
public VisitableMonitorContendedEnteredEvent(
MonitorContendedEnteredEvent event) {
this.event = event;
}
示例5: visit
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
@Override
public void visit(MonitorContendedEnteredEvent event) {
}
示例6: visit
import com.sun.jdi.event.MonitorContendedEnteredEvent; //导入依赖的package包/类
/**
* Visit a {@code MonitorContendedEnteredEvent}.
*
* @param event Event to visit
*/
void visit(MonitorContendedEnteredEvent event);