Callers should also remember that uploaded parts from an interrupted upload may not always be automatically cleaned up, but callers can use {@link #abortMultipartUploads(String,Date)} to clean up any uploadparts.
In addition to the actions performed by the {@link #shutdown} method,this method invokes the {@link AsynchronousChannel#close close}method on all open channels in the group. This method does not attempt to stop actively executing {@link CompletionHandler completion handlers}.
The group is likely to terminate quickly after invoking this method but there is no guarantee that the group has terminated on completion of this method. @return this group @throws IOException if an I/O error occurs
There are no guarantees beyond best-effort attempts to stop processing actively executing tasks. For example, typical implementations will cancel via {@link Thread#interrupt}, so if any tasks mask or fail to respond to interrupts, they may never terminate. @return list of tasks that never commenced execution @throws SecurityException if a security manager exists andshutting down this ExecutorService may manipulate threads that the caller is not permitted to modify because it does not hold {@link java.lang.RuntimePermission}("modifyThread"), or the security manager's checkAccess method denies access.
This implementation cancels tasks via {@link Thread#interrupt}, so if any tasks mask or fail to respond to interrupts, they may never terminate. @return list of tasks that never commenced execution @throws SecurityException if a security manager exists andshutting down this ExecutorService may manipulate threads that the caller is not permitted to modify because it does not hold {@link java.lang.RuntimePermission}("modifyThread"), or the security manager's checkAccess method denies access.
This method does not wait for actively executing tasks to terminate. Use {@link #awaitTermination awaitTermination} todo that.
There are no guarantees beyond best-effort attempts to stop processing actively executing tasks. For example, typical implementations will cancel via {@link Thread#interrupt}, so any task that fails to respond to interrupts may never terminate. @return list of tasks that never commenced execution @throws SecurityException if a security manager exists andshutting down this ExecutorService may manipulate threads that the caller is not permitted to modify because it does not hold {@link java.lang.RuntimePermission}{@code ("modifyThread")}, or the security manager's {@code checkAccess} methoddenies access.
This method does not wait for actively executing tasks to terminate. Use {@link #awaitTermination awaitTermination} todo that.
There are no guarantees beyond best-effort attempts to stop processing actively executing tasks. This implementation cancels tasks via {@link Thread#interrupt}, so any task that fails to respond to interrupts may never terminate. @return list of tasks that never commenced execution.Each element of this list is a {@link ScheduledFuture}, including those tasks submitted using {@code execute}, which are for scheduling purposes used as the basis of a zero-delay {@code ScheduledFuture}. @throws SecurityException {@inheritDoc}
This method does not wait for actively executing tasks to terminate. Use {@link #awaitTermination awaitTermination} todo that.
There are no guarantees beyond best-effort attempts to stop processing actively executing tasks. This implementation cancels tasks via {@link Thread#interrupt}, so any task that fails to respond to interrupts may never terminate. @throws SecurityException {@inheritDoc}
Immediately shuts down the HttpServer
instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|