public class JobClientProfile extends Object
QueueHadoopScriptHandler.| Constructor and Description | 
|---|
JobClientProfile(String prefix,
                List<? extends JobClient> clients,
                long timeout,
                long pollingInterval)
Creates a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static JobClientProfile | 
convert(ServiceProfile<?> profile)
Converts general profile into the corresponded this profile. 
 | 
List<JobClient> | 
getClients()
Returns the job clients. 
 | 
long | 
getPollingInterval()
Returns the polling interval. 
 | 
String | 
getPrefix()
Returns the current namespace. 
 | 
long | 
getTimeout()
Returns the timeout duration. 
 | 
public JobClientProfile(String prefix, List<? extends JobClient> clients, long timeout, long pollingInterval)
prefix - the profile namespaceclients - clientstimeout - timeout duration (ms)pollingInterval - polling interval (ms)IllegalArgumentException - if some parameters were nullpublic String getPrefix()
public long getTimeout()
public long getPollingInterval()
public static JobClientProfile convert(ServiceProfile<?> profile)
profile - general profileIllegalArgumentException - if some parameters were nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.