org.elasticsearch.cluster
Interface ClusterState.Custom.Factory<T extends ClusterState.Custom>

Enclosing interface:
ClusterState.Custom

public static interface ClusterState.Custom.Factory<T extends ClusterState.Custom>


Method Summary
 T readFrom(StreamInput in)
           
 void toXContent(T customState, XContentBuilder builder, ToXContent.Params params)
           
 String type()
           
 void writeTo(T customState, StreamOutput out)
           
 

Method Detail

type

String type()

readFrom

T readFrom(StreamInput in)
                                       throws IOException
Throws:
IOException

writeTo

void writeTo(T customState,
             StreamOutput out)
             throws IOException
Throws:
IOException

toXContent

void toXContent(T customState,
                XContentBuilder builder,
                ToXContent.Params params)


Copyright © 2009-2012. All Rights Reserved.