public class ConcurrentUtils extends Object
Constructor and Description |
---|
ConcurrentUtils() |
Modifier and Type | Method and Description |
---|---|
static Future |
execute(ParseContext context,
Runnable runnable)
Execute a runnable using an ExecutorService from the ParseContext if possible.
|
public static Future execute(ParseContext context, Runnable runnable)
context
- runnable
- Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.