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 TypeMethodDescriptionboolean
int
getPort()
getShard()
int
hashCode()
void
setBaseUrl
(String baseUrl) void
setHostName
(String hostName) void
setPort
(int port) void
toString()
-
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
-