## Uses of Class
org.apache.cassandra.locator.TokenMetadata

Packages that use TokenMetadata
org.apache.cassandra.dht
org.apache.cassandra.locator
org.apache.cassandra.service

Uses of TokenMetadata in org.apache.cassandra.dht

Fields in org.apache.cassandra.dht declared as TokenMetadata
`protected TokenMetadata` `BootStrapper.tokenMetadata`

Methods in org.apache.cassandra.dht with parameters of type TokenMetadata
`static Token` `BootStrapper.getBalancedToken(TokenMetadata metadata, java.util.Map<java.net.InetAddress,java.lang.Double> load)`
`static Token` `BootStrapper.getBootstrapToken(TokenMetadata metadata, java.util.Map<java.net.InetAddress,java.lang.Double> load)` if initialtoken was specified, use that.

Constructors in org.apache.cassandra.dht with parameters of type TokenMetadata
`BootStrapper(java.net.InetAddress address, Token token, TokenMetadata tmd)`

Uses of TokenMetadata in org.apache.cassandra.locator

Methods in org.apache.cassandra.locator that return TokenMetadata
`TokenMetadata` `TokenMetadata.cloneAfterAllLeft()` Create a copy of TokenMetadata with tokenToEndpointMap reflecting situation after all current leave operations have finished.
`TokenMetadata` `TokenMetadata.cloneAfterAllSettled()` Create a copy of TokenMetadata with tokenToEndpointMap reflecting situation after all current leave and move operations have finished.
`TokenMetadata` `TokenMetadata.cloneOnlyTokenMap()` Create a copy of TokenMetadata with only tokenToEndpointMap.

Methods in org.apache.cassandra.locator with parameters of type TokenMetadata
`abstract java.util.List<java.net.InetAddress>` `AbstractReplicationStrategy.calculateNaturalEndpoints(Token searchToken, TokenMetadata tokenMetadata)` calculate the natural endpoints for the given token
`java.util.List<java.net.InetAddress>` `LocalStrategy.calculateNaturalEndpoints(Token token, TokenMetadata metadata)`
`java.util.List<java.net.InetAddress>` `NetworkTopologyStrategy.calculateNaturalEndpoints(Token searchToken, TokenMetadata tokenMetadata)`
`java.util.List<java.net.InetAddress>` `OldNetworkTopologyStrategy.calculateNaturalEndpoints(Token token, TokenMetadata metadata)`
`java.util.List<java.net.InetAddress>` `SimpleStrategy.calculateNaturalEndpoints(Token token, TokenMetadata metadata)`
`static AbstractReplicationStrategy` `AbstractReplicationStrategy.createReplicationStrategy(java.lang.String table, java.lang.Class<? extends AbstractReplicationStrategy> strategyClass, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> strategyOptions)`
`static AbstractReplicationStrategy` `AbstractReplicationStrategy.createReplicationStrategy(java.lang.String table, java.lang.String strategyClassName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> strategyOptions)`
`com.google.common.collect.Multimap<java.net.InetAddress,Range>` `AbstractReplicationStrategy.getAddressRanges(TokenMetadata metadata)`
`java.util.Collection<Range>` `AbstractReplicationStrategy.getPendingAddressRanges(TokenMetadata metadata, Token pendingToken, java.net.InetAddress pendingAddress)`
`com.google.common.collect.Multimap<Range,java.net.InetAddress>` `AbstractReplicationStrategy.getRangeAddresses(TokenMetadata metadata)`

Constructors in org.apache.cassandra.locator with parameters of type TokenMetadata
`LocalStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`NetworkTopologyStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`OldNetworkTopologyStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`
`SimpleStrategy(java.lang.String table, TokenMetadata tokenMetadata, IEndpointSnitch snitch, java.util.Map<java.lang.String,java.lang.String> configOptions)`

Uses of TokenMetadata in org.apache.cassandra.service

Methods in org.apache.cassandra.service that return TokenMetadata
`TokenMetadata` `StorageService.getTokenMetadata()`

Copyright © 2012 The Apache Software Foundation