Class ReplicationTarget
- java.lang.Object
-
- org.apache.accumulo.core.replication.ReplicationTarget
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
@Deprecated public class ReplicationTarget extends Object implements org.apache.hadoop.io.Writable
Deprecated.Container for where some work needs to be replicated
-
-
Constructor Summary
Constructors Constructor Description ReplicationTarget()
Deprecated.ReplicationTarget(String peerName, String remoteIdentifier, TableId sourceTableId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.static ReplicationTarget
from(String s)
Deprecated.Deserialize a ReplicationTargetstatic ReplicationTarget
from(org.apache.hadoop.io.Text t)
Deprecated.Deserialize a ReplicationTargetString
getPeerName()
Deprecated.String
getRemoteIdentifier()
Deprecated.TableId
getSourceTableId()
Deprecated.int
hashCode()
Deprecated.void
readFields(DataInput in)
Deprecated.void
setPeerName(String peerName)
Deprecated.void
setRemoteIdentifier(String remoteIdentifier)
Deprecated.void
setSourceTableId(TableId sourceTableId)
Deprecated.String
toString()
Deprecated.org.apache.hadoop.io.Text
toText()
Deprecated.Convenience method to serialize a ReplicationTarget toText
using theWritable
methods without caring about performance penalties due to excessive object creationvoid
write(DataOutput out)
Deprecated.
-
-
-
Method Detail
-
getPeerName
public String getPeerName()
Deprecated.
-
setPeerName
public void setPeerName(String peerName)
Deprecated.
-
getRemoteIdentifier
public String getRemoteIdentifier()
Deprecated.
-
setRemoteIdentifier
public void setRemoteIdentifier(String remoteIdentifier)
Deprecated.
-
getSourceTableId
public TableId getSourceTableId()
Deprecated.
-
setSourceTableId
public void setSourceTableId(TableId sourceTableId)
Deprecated.
-
write
public void write(DataOutput out) throws IOException
Deprecated.- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
Deprecated.- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
from
public static ReplicationTarget from(org.apache.hadoop.io.Text t)
Deprecated.Deserialize a ReplicationTarget- Parameters:
t
- Serialized copy- Returns:
- the deserialized version
-
from
public static ReplicationTarget from(String s)
Deprecated.Deserialize a ReplicationTarget- Parameters:
s
- Serialized copy- Returns:
- the deserialized version
-
toText
public org.apache.hadoop.io.Text toText()
Deprecated.Convenience method to serialize a ReplicationTarget toText
using theWritable
methods without caring about performance penalties due to excessive object creation- Returns:
- The serialized representation of the object
-
-