org.apache.lucene.store
Class StoreRateLimiting

java.lang.Object
  extended by org.apache.lucene.store.StoreRateLimiting

public class StoreRateLimiting
extends Object


Nested Class Summary
static interface StoreRateLimiting.Listener
           
static interface StoreRateLimiting.Provider
           
static class StoreRateLimiting.Type
           
 
Constructor Summary
StoreRateLimiting()
           
 
Method Summary
 RateLimiter getRateLimiter()
           
 StoreRateLimiting.Type getType()
           
 void setMaxRate(ByteSizeValue rate)
           
 void setType(StoreRateLimiting.Type type)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreRateLimiting

public StoreRateLimiting()
Method Detail

getRateLimiter

@Nullable
public RateLimiter getRateLimiter()

setMaxRate

public void setMaxRate(ByteSizeValue rate)

getType

public StoreRateLimiting.Type getType()

setType

public void setType(StoreRateLimiting.Type type)

setType

public void setType(String type)
             throws ElasticSearchIllegalArgumentException
Throws:
ElasticSearchIllegalArgumentException


Copyright © 2009-2012. All Rights Reserved.