public class Partitioning extends Object
Modifier and Type | Field and Description |
---|---|
HashMap<String,String> |
brokers
Maps broker names to broker URLs.
|
HashMap<String,Target> |
byClientId
If a client connects with a clientId which is listed in the
map, then he will be immediately reconnected
to the partition target immediately.
|
HashMap<String,Target> |
byQueue
Used to map the preferred partitioning of queues across
a set of brokers.
|
HashMap<String,Target> |
bySourceIp
If a client connects with source ip which is listed in the
map, then he will be immediately reconnected
to the partition target immediately.
|
HashMap<String,Target> |
byTopic
Used to map the preferred partitioning of topics across
a set of brokers.
|
HashMap<String,Target> |
byUserName
If a client connects with a user priciple which is listed in the
map, then he will be immediately reconnected
to the partition target immediately.
|
static com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
static com.fasterxml.jackson.databind.ObjectMapper |
TO_STRING_MAPPER |
Constructor and Description |
---|
Partitioning() |
Modifier and Type | Method and Description |
---|---|
HashMap<String,String> |
getBrokers() |
HashMap<String,Target> |
getByClientId() |
HashMap<String,Target> |
getByQueue() |
HashMap<String,Target> |
getBySourceIp() |
HashMap<String,Target> |
getByTopic() |
HashMap<String,Target> |
getByUserName() |
void |
setBrokers(HashMap<String,String> brokers) |
void |
setByClientId(HashMap<String,Target> byClientId) |
void |
setByQueue(HashMap<String,Target> byQueue) |
void |
setBySourceIp(HashMap<String,Target> bySourceIp) |
void |
setByTopic(HashMap<String,Target> byTopic) |
void |
setByUserName(HashMap<String,Target> byUserName) |
String |
toString() |
public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper TO_STRING_MAPPER
public HashMap<String,Target> byClientId
public HashMap<String,Target> byUserName
public HashMap<String,Target> bySourceIp
public HashMap<String,Target> byQueue
public HashMap<String,Target> byTopic
public Partitioning()
public HashMap<String,String> getBrokers()
public void setBrokers(HashMap<String,String> brokers)
public HashMap<String,Target> getByClientId()
public void setByClientId(HashMap<String,Target> byClientId)
public HashMap<String,Target> getByQueue()
public void setByQueue(HashMap<String,Target> byQueue)
public HashMap<String,Target> getBySourceIp()
public void setBySourceIp(HashMap<String,Target> bySourceIp)
public HashMap<String,Target> getByTopic()
public void setByTopic(HashMap<String,Target> byTopic)
public HashMap<String,Target> getByUserName()
public void setByUserName(HashMap<String,Target> byUserName)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.