public class CLUserEvent extends CLEvent
CLEvent
CLEvent.CommandType, CLEvent.ExecutionStatus, CLEvent.ProfilingCommand
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
This method is not intended to be called from client code.
|
static CLUserEvent |
create(CLContext context)
Creates a new user event.
|
CLEvent.CommandType |
getType()
Returns
CLEvent.CommandType.USER . |
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
CLUserEvent |
setComplete()
Sets this event's status to
CLEvent.ExecutionStatus.COMPLETE . |
CLUserEvent |
setStatus(CLEvent.ExecutionStatus status)
Sets the event execution status.
|
equals, getProfilingInfo, getStatus, getStatusCode, hashCode, isComplete, registerCallback, release, toString
getContext, getID, getPlatform
public static CLUserEvent create(CLContext context)
public CLUserEvent setStatus(CLEvent.ExecutionStatus status)
public CLUserEvent setComplete()
CLEvent.ExecutionStatus.COMPLETE
.public CLEvent.CommandType getType()
CLEvent.CommandType.USER
.@Deprecated public final void close()
AutoCloseable
.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.close
in interface AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.isReleased
in interface CLResource