-
Notifications
You must be signed in to change notification settings - Fork 0
/
IRejectedExecutionHandler.xml
101 lines (101 loc) · 7.05 KB
/
IRejectedExecutionHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<Type Name="IRejectedExecutionHandler" FullName="Java.Util.Concurrent.IRejectedExecutionHandler">
<TypeSignature Language="C#" Value="public interface IRejectedExecutionHandler : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IRejectedExecutionHandler implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Util.Concurrent.IRejectedExecutionHandler" />
<TypeSignature Language="F#" Value="type IRejectedExecutionHandler = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/util/concurrent/RejectedExecutionHandler", "", "Java.Util.Concurrent.IRejectedExecutionHandlerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/util/concurrent/RejectedExecutionHandler", "", "Java.Util.Concurrent.IRejectedExecutionHandlerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A handler for tasks that cannot be executed by a <c>ThreadPoolExecutor</c>.</summary>
<remarks>
<para>A handler for tasks that cannot be executed by a <c>ThreadPoolExecutor</c>.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/concurrent/RejectedExecutionHandler" title="Reference documentation">Java documentation for <code>java.util.concurrent.RejectedExecutionHandler</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="RejectedExecution">
<MemberSignature Language="C#" Value="public void RejectedExecution (Java.Lang.IRunnable? r, Java.Util.Concurrent.ThreadPoolExecutor? executor);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RejectedExecution(class Java.Lang.IRunnable r, class Java.Util.Concurrent.ThreadPoolExecutor executor) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Concurrent.IRejectedExecutionHandler.RejectedExecution(Java.Lang.IRunnable,Java.Util.Concurrent.ThreadPoolExecutor)" />
<MemberSignature Language="F#" Value="abstract member RejectedExecution : Java.Lang.IRunnable * Java.Util.Concurrent.ThreadPoolExecutor -> unit" Usage="iRejectedExecutionHandler.RejectedExecution (r, executor)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("rejectedExecution", "(Ljava/lang/Runnable;Ljava/util/concurrent/ThreadPoolExecutor;)V", "GetRejectedExecution_Ljava_lang_Runnable_Ljava_util_concurrent_ThreadPoolExecutor_Handler:Java.Util.Concurrent.IRejectedExecutionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("rejectedExecution", "(Ljava/lang/Runnable;Ljava/util/concurrent/ThreadPoolExecutor;)V", "GetRejectedExecution_Ljava_lang_Runnable_Ljava_util_concurrent_ThreadPoolExecutor_Handler:Java.Util.Concurrent.IRejectedExecutionHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="r" Type="Java.Lang.IRunnable" />
<Parameter Name="executor" Type="Java.Util.Concurrent.ThreadPoolExecutor" />
</Parameters>
<Docs>
<param name="r">the runnable task requested to be executed</param>
<param name="executor">the executor attempting to execute this task</param>
<summary>Method that may be invoked by a <c>ThreadPoolExecutor</c> when
<c>ThreadPoolExecutor#execute execute</c> cannot accept a
task.</summary>
<remarks>
<para>Method that may be invoked by a <c>ThreadPoolExecutor</c> when
<c>ThreadPoolExecutor#execute execute</c> cannot accept a
task. This may occur when no more threads or queue slots are
available because their bounds would be exceeded, or upon
shutdown of the Executor.</para>
<para>In the absence of other alternatives, the method may throw
an unchecked <c>RejectedExecutionException</c>, which will be
propagated to the caller of <c>execute</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/concurrent/RejectedExecutionHandler#rejectedExecution(java.lang.Runnable,%20java.util.concurrent.ThreadPoolExecutor)" title="Reference documentation">Java documentation for <code>java.util.concurrent.RejectedExecutionHandler.rejectedExecution(java.lang.Runnable, java.util.concurrent.ThreadPoolExecutor)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Util.Concurrent.RejectedExecutionException">if there is no remedy
</exception>
</Docs>
</Member>
</Members>
</Type>