org.apache.directory.server.core.replication
Class ReplicationProvider

java.lang.Object
  extended by org.apache.directory.server.core.replication.ReplicationProvider

public class ReplicationProvider
extends java.lang.Object

The replication provider data structure.

Version:
$Rev: $, $Date: $
Author:
Apache Directory Project

Constructor Summary
ReplicationProvider()
           
 
Method Summary
 ReplicaConnection getConnection()
           
 int getId()
           
 ReplicationType getReplicationType()
           
 long getSizeLimit()
           
 int getTimeLimit()
           
 org.apache.directory.shared.ldap.util.LdapURL getUrl()
           
 void setConnection(ReplicaConnection connection)
           
 void setId(int id)
           
 void setSizeLimit(long sizeLimit)
           
 void setTimeLimit(int timeLimit)
           
 void setType(java.lang.String type)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationProvider

public ReplicationProvider()
Method Detail

getConnection

public ReplicaConnection getConnection()
Returns:
the connection

setConnection

public void setConnection(ReplicaConnection connection)
Parameters:
connection - the connection to set

getId

public int getId()
Returns:
the providerId

setId

public void setId(int id)
Parameters:
id - the provider Id to set

getReplicationType

public ReplicationType getReplicationType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the replication type to set

getSizeLimit

public long getSizeLimit()
Returns:
the sizeLimit

setSizeLimit

public void setSizeLimit(long sizeLimit)
Parameters:
sizeLimit - the sizeLimit to set

getTimeLimit

public int getTimeLimit()
Returns:
the timeLimit

setTimeLimit

public void setTimeLimit(int timeLimit)
Parameters:
timeLimit - the timeLimit to set

getUrl

public org.apache.directory.shared.ldap.util.LdapURL getUrl()
Returns:
the url

setUrl

public void setUrl(java.lang.String url)
Parameters:
url - The URL to use for the replication search request


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.