public class SimpleSearchTarget extends SearchTarget implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<TargetSlices> |
targetSlices |
DEFAULT_NB_VIRTUAL_PARTITION_PER_SLICE, DEFAULT_WATCH_DOG_CONNECT_TIMEOUT_M_S, DEFAULT_WATCH_DOG_READ_TIMEOUT_M_S, nbVirtualPartitionPerSlice, targetName, watchDogConnectTimeoutMS, watchDogReadTimeoutMS
Constructor and Description |
---|
SimpleSearchTarget() |
SimpleSearchTarget(SimpleSearchTarget o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SimpleSearchTarget.
|
static SimpleSearchTarget |
fromString(java.lang.String s)
String representation of this SimpleSearchTarget.
|
java.util.List<TargetSlices> |
getTargetSlices()
Slice instances to query in this target
|
SimpleSearchTarget |
makeCopy()
Creates and returns a deep copy of this SimpleSearchTarget.
|
static SimpleSearchTarget |
readFrom(java.io.InputStream is)
Read this SimpleSearchTarget from an XML fragment.
|
java.lang.String |
toString()
String representation of this SimpleSearchTarget.
|
SimpleSearchTarget |
withNbVirtualPartitionPerSlice(int nbVirtualPartitionPerSlice) |
SimpleSearchTarget |
withNbVirtualPartitionPerSlice(java.lang.Integer nbVirtualPartitionPerSlice) |
SimpleSearchTarget |
withTargetName(java.lang.String targetName) |
SimpleSearchTarget |
withTargetSlices(java.util.Collection<TargetSlices> __values) |
SimpleSearchTarget |
withTargetSlices(TargetSlices... __values)
Slice instances to query in this target
|
SimpleSearchTarget |
withWatchDogConnectTimeoutMS(int watchDogConnectTimeoutMS) |
SimpleSearchTarget |
withWatchDogConnectTimeoutMS(java.lang.Integer watchDogConnectTimeoutMS) |
SimpleSearchTarget |
withWatchDogReadTimeoutMS(int watchDogReadTimeoutMS) |
SimpleSearchTarget |
withWatchDogReadTimeoutMS(java.lang.Integer watchDogReadTimeoutMS) |
void |
writeTo(java.io.OutputStream os)
Write this SimpleSearchTarget as an XML fragment
|
getNbVirtualPartitionPerSlice, getTargetName, getWatchDogConnectTimeoutMS, getWatchDogReadTimeoutMS, setNbVirtualPartitionPerSlice, setTargetName, setWatchDogConnectTimeoutMS, setWatchDogReadTimeoutMS
public java.util.List<TargetSlices> targetSlices
public SimpleSearchTarget()
public SimpleSearchTarget(SimpleSearchTarget o)
public SimpleSearchTarget withTargetName(java.lang.String targetName)
withTargetName
in class SearchTarget
public SimpleSearchTarget withWatchDogConnectTimeoutMS(int watchDogConnectTimeoutMS)
withWatchDogConnectTimeoutMS
in class SearchTarget
public SimpleSearchTarget withWatchDogConnectTimeoutMS(java.lang.Integer watchDogConnectTimeoutMS)
withWatchDogConnectTimeoutMS
in class SearchTarget
public SimpleSearchTarget withWatchDogReadTimeoutMS(int watchDogReadTimeoutMS)
withWatchDogReadTimeoutMS
in class SearchTarget
public SimpleSearchTarget withWatchDogReadTimeoutMS(java.lang.Integer watchDogReadTimeoutMS)
withWatchDogReadTimeoutMS
in class SearchTarget
public SimpleSearchTarget withNbVirtualPartitionPerSlice(int nbVirtualPartitionPerSlice)
withNbVirtualPartitionPerSlice
in class SearchTarget
public SimpleSearchTarget withNbVirtualPartitionPerSlice(java.lang.Integer nbVirtualPartitionPerSlice)
withNbVirtualPartitionPerSlice
in class SearchTarget
public java.util.List<TargetSlices> getTargetSlices()
public SimpleSearchTarget withTargetSlices(TargetSlices... __values)
public SimpleSearchTarget withTargetSlices(java.util.Collection<TargetSlices> __values)
public SimpleSearchTarget makeCopy()
makeCopy
in class SearchTarget
public static SimpleSearchTarget readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class SearchTarget
javax.xml.bind.JAXBException
java.io.IOException
public static SimpleSearchTarget fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class SearchTarget
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SearchTarget
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.