Package org.alfresco.repo.index.shard
Class ShardInstance
- java.lang.Object
-
- org.alfresco.repo.index.shard.ShardInstance
-
- All Implemented Interfaces:
Serializable
public class ShardInstance extends Object implements Serializable
- Author:
- Andy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShardInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBaseUrl()StringgetHostName()intgetPort()ShardgetShard()inthashCode()voidsetBaseUrl(String baseUrl)voidsetHostName(String hostName)voidsetPort(int port)voidsetShard(Shard shard)StringtoString()
-
-
-
Method Detail
-
getShard
public Shard getShard()
- Returns:
- the shard
-
setShard
public void setShard(Shard shard)
- Parameters:
shard- the shard to set
-
getBaseUrl
public String getBaseUrl()
- Returns:
- the baseUrl
-
setBaseUrl
public void setBaseUrl(String baseUrl)
- Parameters:
baseUrl- the baseUrl to set
-
getPort
public int getPort()
- Returns:
- the port
-
setPort
public void setPort(int port)
- Parameters:
port- the port to set
-
getHostName
public String getHostName()
- Returns:
- the hostName
-
setHostName
public void setHostName(String hostName)
- Parameters:
hostName- the hostName to set
-
-