Module org.elasticsearch.xcore
Class TrainedModelCacheInfoAction.Response
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.support.nodes.BaseNodesResponse<TrainedModelCacheInfoAction.Response.CacheInfo>
org.elasticsearch.xpack.core.ml.action.TrainedModelCacheInfoAction.Response
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
- Enclosing class:
TrainedModelCacheInfoAction
public static class TrainedModelCacheInfoAction.Response
extends BaseNodesResponse<TrainedModelCacheInfoAction.Response.CacheInfo>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionResponse(ClusterName clusterName, List<TrainedModelCacheInfoAction.Response.CacheInfo> nodes, List<FailedNodeException> failures) Response(StreamInput in) -
Method Summary
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesResponse
failures, getClusterName, getNodes, getNodesMap, hasFailures, writeToMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
Response
- Throws:
IOException
-
Response
public Response(ClusterName clusterName, List<TrainedModelCacheInfoAction.Response.CacheInfo> nodes, List<FailedNodeException> failures)
-
-
Method Details
-
readNodesFrom
protected List<TrainedModelCacheInfoAction.Response.CacheInfo> readNodesFrom(StreamInput in) throws IOException - Specified by:
readNodesFromin classBaseNodesResponse<TrainedModelCacheInfoAction.Response.CacheInfo>- Throws:
IOException
-
writeNodesTo
protected void writeNodesTo(StreamOutput out, List<TrainedModelCacheInfoAction.Response.CacheInfo> nodes) throws IOException - Specified by:
writeNodesToin classBaseNodesResponse<TrainedModelCacheInfoAction.Response.CacheInfo>- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-