Package org.alfresco.repo.index.shard
Class ShardInstance
java.lang.Object
org.alfresco.repo.index.shard.ShardInstance
- All Implemented Interfaces:
Serializable
- Author:
- Andy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetPort()getShard()inthashCode()voidsetBaseUrl(String baseUrl) voidsetHostName(String hostName) voidsetPort(int port) voidtoString()
-
Constructor Details
-
ShardInstance
public ShardInstance()
-
-
Method Details
-
getShard
- Returns:
- the shard
-
setShard
- Parameters:
shard- the shard to set
-
getBaseUrl
- Returns:
- the baseUrl
-
setBaseUrl
- 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
- Returns:
- the hostName
-
setHostName
- Parameters:
hostName- the hostName to set
-
hashCode
public int hashCode() -
equals
-
toString
-