org.terracotta.modules.ehcache.event
Class TerracottaNodeImpl

java.lang.Object
  extended by org.terracotta.modules.ehcache.event.TerracottaNodeImpl
All Implemented Interfaces:
ClusterNode

public class TerracottaNodeImpl
extends Object
implements ClusterNode

A bridge from ClusterNode in Toolkit to TerracottaNode in Ehcache-space.


Constructor Summary
TerracottaNodeImpl(org.terracotta.toolkit.cluster.ClusterNode node)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHostname()
           
 String getId()
           
 String getIp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerracottaNodeImpl

public TerracottaNodeImpl(org.terracotta.toolkit.cluster.ClusterNode node)
Method Detail

getHostname

public String getHostname()
Specified by:
getHostname in interface ClusterNode

getId

public String getId()
Specified by:
getId in interface ClusterNode

getIp

public String getIp()
Specified by:
getIp in interface ClusterNode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.