Most programs will have no need to call this method. It is designed for use by the rare application that cancels a large number of tasks. Calling this method trades time for space: the runtime of the method may be proportional to n + c log n, where n is the number of tasks in the queue and c is the number of cancelled tasks.
Note that it is permissible to call this method from within a a task scheduled on this timer. @return the number of tasks removed from the queue. @since 1.5
SynchronizeService
when it has finished rendering the updates to the client.
entityType
and the identifier id
from the index. If id == null
all indexed entities of this type and its indexed subclasses are deleted. In this case this method behaves like {@link #purgeAll(Class)}.
@param entityType The type of the entity to delete.
@param id The id of the entity to delete.
@throws IllegalArgumentException if entityType is null
or not an @Indexed entity type.
This will delete all references associated with it.
This cannot be undone.
|
|
|
|
|
|