public class IncrementCoalescer extends Object implements IncrementCoalescerMBean
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
IncrementCoalescer(ThriftServerRunner.HBaseHandler hand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canQueue() |
int |
getCorePoolSize() |
long |
getCountersMapSize() |
long |
getFailedIncrements() |
int |
getMaxPoolSize() |
int |
getMaxQueueSize() |
long |
getPoolCompletedTaskCount() |
int |
getPoolLargestPoolSize() |
long |
getPoolTaskCount() |
int |
getQueueSize() |
long |
getSuccessfulCoalescings() |
long |
getTotalIncrements() |
boolean |
queueIncrement(TIncrement inc) |
boolean |
queueIncrements(List<TIncrement> incs) |
void |
setCorePoolSize(int newCoreSize) |
void |
setMaxPoolSize(int newMaxSize) |
void |
setMaxQueueSize(int newSize) |
public IncrementCoalescer(ThriftServerRunner.HBaseHandler hand)
public boolean queueIncrement(TIncrement inc) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean queueIncrements(List<TIncrement> incs) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean canQueue()
public int getQueueSize()
getQueueSize in interface IncrementCoalescerMBeanpublic int getMaxQueueSize()
getMaxQueueSize in interface IncrementCoalescerMBeanpublic void setMaxQueueSize(int newSize)
setMaxQueueSize in interface IncrementCoalescerMBeanpublic long getPoolCompletedTaskCount()
getPoolCompletedTaskCount in interface IncrementCoalescerMBeanpublic long getPoolTaskCount()
getPoolTaskCount in interface IncrementCoalescerMBeanpublic int getPoolLargestPoolSize()
getPoolLargestPoolSize in interface IncrementCoalescerMBeanpublic int getCorePoolSize()
getCorePoolSize in interface IncrementCoalescerMBeanpublic void setCorePoolSize(int newCoreSize)
setCorePoolSize in interface IncrementCoalescerMBeanpublic int getMaxPoolSize()
getMaxPoolSize in interface IncrementCoalescerMBeanpublic void setMaxPoolSize(int newMaxSize)
setMaxPoolSize in interface IncrementCoalescerMBeanpublic long getFailedIncrements()
getFailedIncrements in interface IncrementCoalescerMBeanpublic long getSuccessfulCoalescings()
getSuccessfulCoalescings in interface IncrementCoalescerMBeanpublic long getTotalIncrements()
getTotalIncrements in interface IncrementCoalescerMBeanpublic long getCountersMapSize()
getCountersMapSize in interface IncrementCoalescerMBeanCopyright © 2014 The Apache Software Foundation. All rights reserved.