Uses of Class
org.apache.cassandra.net.EndPoint

Packages that use EndPoint
org.apache.cassandra.db   
org.apache.cassandra.dht   
org.apache.cassandra.gms   
org.apache.cassandra.locator   
org.apache.cassandra.net   
org.apache.cassandra.service   
org.apache.cassandra.test   
org.apache.cassandra.tools   
 

Uses of EndPoint in org.apache.cassandra.db
 

Methods in org.apache.cassandra.db with parameters of type EndPoint
 void HintedHandOffManager.deliverHints(EndPoint to)
           
 boolean Table.forceCompaction(java.util.List<Range> ranges, EndPoint target, java.util.List<java.lang.String> fileList)
           
 

Uses of EndPoint in org.apache.cassandra.dht
 

Fields in org.apache.cassandra.dht declared as EndPoint
protected  EndPoint[] BootStrapper.targets_
           
protected  EndPoint[] LeaveJoinProtocolImpl.targets_
           
 

Constructors in org.apache.cassandra.dht with parameters of type EndPoint
BootStrapper(EndPoint[] target, Token... token)
           
BootStrapper(EndPoint[] target, Token[] token, EndPoint[] filters)
           
BootStrapper(EndPoint[] target, Token[] token, EndPoint[] filters)
           
LeaveJoinProtocolImpl(EndPoint[] targets, Token[] tokens)
           
 

Uses of EndPoint in org.apache.cassandra.gms
 

Methods in org.apache.cassandra.gms that return types with arguments of type EndPoint
 java.util.Set<EndPoint> Gossiper.getAllMembers()
           
 java.util.Set<EndPoint> Gossiper.getLiveMembers()
           
 java.util.Set<EndPoint> Gossiper.getUnreachableMembers()
           
 

Methods in org.apache.cassandra.gms with parameters of type EndPoint
 void Gossiper.convict(EndPoint endpoint)
          This method is part of IFailureDetectionEventListener interface.
 void IFailureDetectionEventListener.convict(EndPoint ep)
          Convict the specified endpoint.
 int Gossiper.getCurrentGenerationNumber(EndPoint endpoint)
           
 void FailureDetector.intepret(EndPoint ep)
           
 void IFailureDetector.intepret(EndPoint ep)
          This method is invoked by any entity wanting to interrogate the status of an endpoint.
 boolean FailureDetector.isAlive(EndPoint ep)
           
 boolean IFailureDetector.isAlive(EndPoint ep)
          Failure Detector's knowledge of whether a node is up or down.
 void IEndPointStateChangeSubscriber.onChange(EndPoint endpoint, EndPointState epState)
          Use to inform interested parties about the change in the state for specified endpoint
 void Gossiper.removeFromMembership(EndPoint ep)
          This method is used to forcibly remove a node from the membership set.
 void FailureDetector.report(EndPoint ep)
           
 void IFailureDetector.report(EndPoint ep)
          This method is invoked by the receiver of the heartbeat.
 void IFailureNotification.revive(EndPoint ep)
           
 void Gossiper.start(EndPoint localEndPoint, int generationNbr)
           
 void Gossiper.suspect(EndPoint endpoint)
          This method is part of IFailureDetectionEventListener interface.
 void IFailureDetectionEventListener.suspect(EndPoint ep)
          Suspect the specified endpoint.
 void IFailureNotification.suspect(EndPoint ep)
           
 

Uses of EndPoint in org.apache.cassandra.locator
 

Methods in org.apache.cassandra.locator that return EndPoint
protected  EndPoint AbstractStrategy.getNextAvailableEndPoint(EndPoint startPoint, java.util.List<EndPoint> topN, java.util.List<EndPoint> liveNodes)
           
abstract  EndPoint[] AbstractStrategy.getStorageEndPoints(Token token)
           
 EndPoint[] IReplicaPlacementStrategy.getStorageEndPoints(Token token)
           
 EndPoint[] RackAwareStrategy.getStorageEndPoints(Token token)
           
 EndPoint[] RackUnawareStrategy.getStorageEndPoints(Token token)
           
 EndPoint[] IReplicaPlacementStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
 EndPoint[] RackAwareStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
 EndPoint[] RackUnawareStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
 

Methods in org.apache.cassandra.locator that return types with arguments of type EndPoint
 java.util.Map<EndPoint,Token> TokenMetadata.cloneEndPointTokenMap()
           
 java.util.Map<Token,EndPoint> TokenMetadata.cloneTokenEndPointMap()
           
 java.util.Map<EndPoint,EndPoint> AbstractStrategy.getHintedStorageEndPoints(Token token)
           
 java.util.Map<EndPoint,EndPoint> AbstractStrategy.getHintedStorageEndPoints(Token token)
           
 java.util.Map<EndPoint,EndPoint> IReplicaPlacementStrategy.getHintedStorageEndPoints(Token token)
           
 java.util.Map<EndPoint,EndPoint> IReplicaPlacementStrategy.getHintedStorageEndPoints(Token token)
           
 

Methods in org.apache.cassandra.locator with parameters of type EndPoint
protected  EndPoint AbstractStrategy.getNextAvailableEndPoint(EndPoint startPoint, java.util.List<EndPoint> topN, java.util.List<EndPoint> liveNodes)
           
 Token TokenMetadata.getToken(EndPoint endpoint)
           
 boolean EndPointSnitch.isInSameDataCenter(EndPoint host, EndPoint host2)
           
 boolean IEndPointSnitch.isInSameDataCenter(EndPoint host, EndPoint host2)
          Helps determine if 2 nodes are in the same data center.
 boolean TokenMetadata.isKnownEndPoint(EndPoint ep)
           
 boolean EndPointSnitch.isOnSameRack(EndPoint host, EndPoint host2)
           
 boolean IEndPointSnitch.isOnSameRack(EndPoint host, EndPoint host2)
          Helps determine if 2 nodes are in the same rack in the data center.
 void TokenMetadata.remove(EndPoint endpoint)
          Remove the entries in the two maps.
 void TokenMetadata.update(Token token, EndPoint endpoint)
          Update the two maps in an safe mode.
 

Method parameters in org.apache.cassandra.locator with type arguments of type EndPoint
protected  EndPoint AbstractStrategy.getNextAvailableEndPoint(EndPoint startPoint, java.util.List<EndPoint> topN, java.util.List<EndPoint> liveNodes)
           
protected  EndPoint AbstractStrategy.getNextAvailableEndPoint(EndPoint startPoint, java.util.List<EndPoint> topN, java.util.List<EndPoint> liveNodes)
           
 EndPoint[] IReplicaPlacementStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
 EndPoint[] RackAwareStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
 EndPoint[] RackUnawareStrategy.getStorageEndPoints(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
           
protected  void AbstractStrategy.retrofitPorts(java.util.List<EndPoint> eps)
           
 

Uses of EndPoint in org.apache.cassandra.net
 

Fields in org.apache.cassandra.net declared as EndPoint
static EndPoint EndPoint.randomLocalEndPoint_
           
 

Methods in org.apache.cassandra.net that return EndPoint
static EndPoint CompactEndPointSerializationHelper.deserialize(java.io.DataInputStream dis)
           
static EndPoint EndPoint.fromBytes(byte[] bytes)
           
static EndPoint EndPoint.fromString(java.lang.String str)
           
 EndPoint TcpConnection.getEndPoint()
           
 EndPoint Message.getFrom()
           
 

Methods in org.apache.cassandra.net with parameters of type EndPoint
 int EndPoint.compareTo(EndPoint rhs)
           
 void IMessagingService.deregisterAllVerbHandlers(EndPoint localEndPoint)
          Deregister all verbhandlers corresponding to localEndPoint.
 void MessagingService.deregisterAllVerbHandlers(EndPoint localEndPoint)
           
static TcpConnection MessagingService.getConnection(EndPoint from, EndPoint to)
           
static org.apache.cassandra.net.TcpConnectionManager MessagingService.getConnectionPool(EndPoint from, EndPoint to)
           
 Message Message.getReply(EndPoint from, byte[] args)
           
static boolean MessagingService.isLocalEndPoint(EndPoint ep)
           
 void IMessagingService.listen(EndPoint ep, boolean isHttp)
          Listen on the specified port.
 void MessagingService.listen(EndPoint localEp, boolean isHttp)
           
 void IMessagingService.listenUDP(EndPoint ep)
          Listen on the specified port.
 void MessagingService.listenUDP(EndPoint localEp)
           
 void IMessagingService.sendOneWay(Message message, EndPoint to)
          Send a message to a given endpoint.
 void MessagingService.sendOneWay(Message message, EndPoint to)
           
 java.lang.String IMessagingService.sendRR(Message[][] messages, EndPoint[][] to, IAsyncCallback cb)
          Send a message to a given endpoint.
 java.lang.String MessagingService.sendRR(Message[][] messages, EndPoint[][] to, IAsyncCallback cb)
           
 IAsyncResult IMessagingService.sendRR(Message[] messages, EndPoint[] to)
          Send a message to a given endpoint.
 IAsyncResult MessagingService.sendRR(Message[] messages, EndPoint[] to)
           
 java.lang.String IMessagingService.sendRR(Message[] messages, EndPoint[] to, IAsyncCallback cb)
          Send a message to a given endpoint.
 java.lang.String MessagingService.sendRR(Message[] messages, EndPoint[] to, IAsyncCallback cb)
           
 IAsyncResult IMessagingService.sendRR(Message message, EndPoint to)
          Send a message to a given endpoint.
 IAsyncResult MessagingService.sendRR(Message message, EndPoint to)
           
 java.lang.String IMessagingService.sendRR(Message message, EndPoint[] to, IAsyncCallback cb)
          Send a message to the given set of endpoints and informs the MessagingService to wait for at least howManyResults responses to determine success of failure.
 java.lang.String MessagingService.sendRR(Message message, EndPoint[] to, IAsyncCallback cb)
           
 java.lang.String IMessagingService.sendRR(Message message, EndPoint to, IAsyncCallback cb)
          Send a message to a given endpoint.
 java.lang.String MessagingService.sendRR(Message message, EndPoint to, IAsyncCallback cb)
           
 void IMessagingService.sendUdpOneWay(Message message, EndPoint to)
          Send a message to a given endpoint.
 void MessagingService.sendUdpOneWay(Message message, EndPoint to)
           
static void CompactEndPointSerializationHelper.serialize(EndPoint endPoint, java.io.DataOutputStream dos)
           
 void TcpConnection.setLocalEp(EndPoint localEp)
           
 void IMessagingService.stream(java.lang.String file, long startPosition, long total, EndPoint from, EndPoint to)
          Stream a file from source to destination.
 void MessagingService.stream(java.lang.String file, long startPosition, long total, EndPoint from, EndPoint to)
           
static byte[] EndPoint.toBytes(EndPoint ep)
           
 boolean UdpConnection.write(Message message, EndPoint to)
           
 

Constructors in org.apache.cassandra.net with parameters of type EndPoint
Message(EndPoint from, java.lang.String messageType, java.lang.String verb, byte[] body)
           
Message(java.lang.String id, EndPoint from, java.lang.String messageType, java.lang.String verb, byte[] body)
           
TcpConnectionHandler(EndPoint localEp)
           
 

Uses of EndPoint in org.apache.cassandra.service
 

Methods in org.apache.cassandra.service that return EndPoint
 EndPoint StorageService.findSuitableEndPoint(java.lang.String key)
          This function finds the most suitable endpoint given a key.
static EndPoint StorageService.getLocalControlEndPoint()
           
static EndPoint StorageService.getLocalStorageEndPoint()
           
 EndPoint[] StorageService.getNStorageEndPoint(java.lang.String key)
          This method returns the N endpoints that are responsible for storing the specified key i.e for replication.
 EndPoint[] StorageService.getNStorageEndPoint(Token token)
          This method returns the N endpoints that are responsible for storing the specified token i.e for replication.
protected  EndPoint[] StorageService.getNStorageEndPoint(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
          This method returns the N endpoints that are responsible for storing the specified token i.e for replication and are based on the token to endpoint mapping that is passed in.
 EndPoint StorageService.getPrimary(java.lang.String key)
          This method returns the endpoint that is responsible for storing the specified key.
 EndPoint StorageService.getSuccessor(EndPoint ep)
           
 

Methods in org.apache.cassandra.service that return types with arguments of type EndPoint
 java.util.Map<EndPoint,java.util.List<Range>> StorageService.constructEndPointToRangesMap()
          Construct a mapping from endpoint to ranges that endpoint is responsible for.
 java.util.Map<Range,java.util.List<EndPoint>> StorageService.constructRangeToEndPointMap(Range[] ranges)
          Construct the range to endpoint mapping based on the true view of the world.
 java.util.Map<Range,java.util.List<EndPoint>> StorageService.constructRangeToEndPointMap(Range[] ranges, java.util.Map<Token,EndPoint> tokenToEndPointMap)
          Construct the range to endpoint mapping based on the view as dictated by the mapping of token to endpoints passed in.
 java.util.Map<java.lang.String,EndPoint> StorageService.findSuitableEndPoints(java.lang.String[] keys)
           
 java.util.List<EndPoint> StorageService.getNLiveStorageEndPoint(java.lang.String key)
          This method attempts to return N endpoints that are responsible for storing the specified key i.e for replication.
 java.util.Map<EndPoint,EndPoint> StorageService.getNStorageEndPointMap(java.lang.String key)
          This method returns the N endpoints that are responsible for storing the specified key i.e for replication.
 java.util.Map<EndPoint,EndPoint> StorageService.getNStorageEndPointMap(java.lang.String key)
          This method returns the N endpoints that are responsible for storing the specified key i.e for replication.
 java.util.Map<Range,java.util.List<EndPoint>> StorageService.getRangeToEndPointMap()
           
 

Methods in org.apache.cassandra.service with parameters of type EndPoint
 void StorageService.doBootstrap(EndPoint endpoint, StorageService.BootstrapMode mode)
          Starts the bootstrap operations for the specified endpoint.
 java.lang.String StorageService.getLoadInfo(EndPoint ep)
          Get the primary count info for this endpoint.
 Range StorageService.getPrimaryRangeForEndPoint(EndPoint ep)
          Get the primary range for the specified endpoint.
 EndPoint StorageService.getSuccessor(EndPoint ep)
           
 java.lang.String StorageService.getToken(EndPoint ep)
           
static StreamManager StreamManager.instance(EndPoint to)
           
 boolean StorageService.isInSameDataCenter(EndPoint endpoint)
           
 void StorageService.onChange(EndPoint endpoint, EndPointState epState)
          Called when there is a change in application state.
 void StorageService.removeTokenState(EndPoint endpoint)
           
 void StorageService.updateTokenMetadata(Token token, EndPoint endpoint)
           
 

Method parameters in org.apache.cassandra.service with type arguments of type EndPoint
 java.util.Map<Range,java.util.List<EndPoint>> StorageService.constructRangeToEndPointMap(Range[] ranges, java.util.Map<Token,EndPoint> tokenToEndPointMap)
          Construct the range to endpoint mapping based on the view as dictated by the mapping of token to endpoints passed in.
 void StorageService.doConsistencyCheck(Row row, java.util.List<EndPoint> endpoints, ReadCommand command)
           
protected  EndPoint[] StorageService.getNStorageEndPoint(Token token, java.util.Map<Token,EndPoint> tokenToEndPointMap)
          This method returns the N endpoints that are responsible for storing the specified token i.e for replication and are based on the token to endpoint mapping that is passed in.
 

Uses of EndPoint in org.apache.cassandra.test
 

Constructor parameters in org.apache.cassandra.test with type arguments of type EndPoint
TestChoice(java.util.Set<EndPoint> allNodes)
           
 

Uses of EndPoint in org.apache.cassandra.tools
 

Fields in org.apache.cassandra.tools declared as EndPoint
static EndPoint AdminTool.from_
           
 



Copyright © 2009 The Apache Software Foundation