org.elasticsearch.threadpool
Class ThreadPool.Info
java.lang.Object
org.elasticsearch.threadpool.ThreadPool.Info
- All Implemented Interfaces:
- Streamable, ToXContent
- Enclosing class:
- ThreadPool
public static class ThreadPool.Info
- extends Object
- implements Streamable, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPool.Info
public ThreadPool.Info(String name,
String type)
ThreadPool.Info
public ThreadPool.Info(String name,
String type,
int size)
ThreadPool.Info
public ThreadPool.Info(String name,
String type,
int min,
int max,
@Nullable
TimeValue keepAlive,
@Nullable
SizeValue capacity)
name
public String name()
getName
public String getName()
type
public String type()
getType
public String getType()
min
public int min()
getMin
public int getMin()
max
public int max()
getMax
public int getMax()
keepAlive
@Nullable
public TimeValue keepAlive()
getKeepAlive
@Nullable
public TimeValue getKeepAlive()
capacity
@Nullable
public SizeValue capacity()
getCapacity
@Nullable
public SizeValue getCapacity()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.