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 boolean
equals(Object obj)
String
getBaseUrl()
String
getHostName()
int
getPort()
Shard
getShard()
int
hashCode()
void
setBaseUrl(String baseUrl)
void
setHostName(String hostName)
void
setPort(int port)
void
setShard(Shard shard)
String
toString()
-
-
-
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
-
-