@Deprecated public class RemoveOnCancelScheduledExecutorServiceConfigurator extends SimpleServiceNameProvider implements ServiceConfigurator, Function<ScheduledExecutorService,ScheduledExecutorService>, Supplier<ScheduledExecutorService>, Consumer<ScheduledExecutorService>
Constructor and Description |
---|
RemoveOnCancelScheduledExecutorServiceConfigurator(org.jboss.msc.service.ServiceName name,
ThreadFactory factory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ScheduledExecutorService executor)
Deprecated.
|
ScheduledExecutorService |
apply(ScheduledExecutorService executor)
Deprecated.
|
org.jboss.msc.service.ServiceBuilder<?> |
build(org.jboss.msc.service.ServiceTarget target)
Deprecated.
Adds and configures a
Service . |
ScheduledExecutorService |
get()
Deprecated.
|
RemoveOnCancelScheduledExecutorServiceConfigurator |
size(int size)
Deprecated.
|
equals, getServiceName, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getServiceName
public RemoveOnCancelScheduledExecutorServiceConfigurator(org.jboss.msc.service.ServiceName name, ThreadFactory factory)
public ScheduledExecutorService apply(ScheduledExecutorService executor)
apply
in interface Function<ScheduledExecutorService,ScheduledExecutorService>
public ScheduledExecutorService get()
get
in interface Supplier<ScheduledExecutorService>
public void accept(ScheduledExecutorService executor)
accept
in interface Consumer<ScheduledExecutorService>
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
ServiceConfigurator
Service
.build
in interface ServiceConfigurator
target
- a service targetpublic RemoveOnCancelScheduledExecutorServiceConfigurator size(int size)
Copyright © 2020 JBoss by Red Hat. All rights reserved.