public class CLUserEvent extends CLEvent
CLEventCLEvent.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, toStringgetContext, getID, getPlatformpublic 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 AutoCloseableAutoCloseablepublic boolean isReleased()
CLResourceCLResource.release() has been called.isReleased in interface CLResource