Executors.UnconfigurableScheduledExecutorService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that delegates all defined ScheduledExecutorService
methods to the given executor, but
not any other methods that might otherwise be accessible using
casts.
[Android.Runtime.Register("unconfigurableScheduledExecutorService", "(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;", "")]
public static Java.Util.Concurrent.IScheduledExecutorService? UnconfigurableScheduledExecutorService (Java.Util.Concurrent.IScheduledExecutorService? executor);
[<Android.Runtime.Register("unconfigurableScheduledExecutorService", "(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;", "")>]
static member UnconfigurableScheduledExecutorService : Java.Util.Concurrent.IScheduledExecutorService -> Java.Util.Concurrent.IScheduledExecutorService
Parameters
- executor
- IScheduledExecutorService
the underlying implementation
Returns
a ScheduledExecutorService
instance
- Attributes
Exceptions
if executor null
Remarks
Returns an object that delegates all defined ScheduledExecutorService
methods to the given executor, but not any other methods that might otherwise be accessible using casts. This provides a way to safely "freeze" configuration and disallow tuning of a given concrete implementation.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.