org.elasticsearch.cache
Class NodeCache

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.cache.NodeCache
All Implemented Interfaces:
ClusterStateListener

public class NodeCache
extends AbstractComponent
implements ClusterStateListener


Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
NodeCache(Settings settings, ByteBufferCache byteBufferCache, ClusterService clusterService)
           
 
Method Summary
 ByteBufferCache byteBuffer()
           
 void close()
           
 void clusterChanged(ClusterChangedEvent event)
          Called when cluster state changes.
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCache

@Inject
public NodeCache(Settings settings,
                        ByteBufferCache byteBufferCache,
                        ClusterService clusterService)
Method Detail

close

public void close()

byteBuffer

public ByteBufferCache byteBuffer()

clusterChanged

public void clusterChanged(ClusterChangedEvent event)
Description copied from interface: ClusterStateListener
Called when cluster state changes.

Specified by:
clusterChanged in interface ClusterStateListener


Copyright © 2009-2012. All Rights Reserved.