jdk/src/jdk.jdi/share/classes/com/sun/jdi/event/MonitorWaitedEvent.java
changeset 45564 0149773a140c
parent 34894 3248b89d1921
equal deleted inserted replaced
45563:ece4ae6beba3 45564:0149773a140c
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.sun.jdi.event;
    26 package com.sun.jdi.event;
    27 
    27 
    28 import com.sun.jdi.*;
    28 import com.sun.jdi.ObjectReference;
       
    29 import com.sun.jdi.ThreadReference;
    29 
    30 
    30 /**
    31 /**
    31  * Notification that a thread in the target VM has finished
    32  * Notification that a thread in the target VM has finished
    32  * waiting on an monitor object.
    33  * waiting on an monitor object.
    33  *
    34  *
    50     /**
    51     /**
    51      * Returns the monitor object this thread waited on.
    52      * Returns the monitor object this thread waited on.
    52      *
    53      *
    53      * @return an {@link ObjectReference} for the monitor.
    54      * @return an {@link ObjectReference} for the monitor.
    54      */
    55      */
    55     public ObjectReference  monitor();
    56     public ObjectReference monitor();
    56 
    57 
    57     /**
    58     /**
    58      * Returns whether the wait has timed out or been interrupted.
    59      * Returns whether the wait has timed out or been interrupted.
    59      *
    60      *
    60      * @return {@code true} if the wait is timed out.
    61      * @return {@code true} if the wait is timed out.
    61      */
    62      */
    62     public boolean  timedout();
    63     public boolean timedout();
    63 
       
    64 
       
    65 }
    64 }