public abstract class AbstractSailImplConfig extends Object implements SailImplConfig
SailImplConfig
Constructor and Description |
---|
AbstractSailImplConfig()
Create a new RepositoryConfigImpl.
|
AbstractSailImplConfig(String type)
Create a new RepositoryConfigImpl.
|
Modifier and Type | Method and Description |
---|---|
Resource |
export(Model m) |
long |
getConnectionTimeOut()
Get the connection timeout (in ms).
|
long |
getIterationCacheSyncThreshold() |
String |
getType() |
void |
parse(Model m,
Resource implNode) |
void |
setConnectionTimeOut(long connectionTimeOut)
Set the connection timeout (in ms).
|
void |
setIterationCacheSyncThreshold(long iterationCacheSyncThreshold) |
void |
setType(String type) |
void |
validate()
Validates this configuration.
|
public AbstractSailImplConfig()
public AbstractSailImplConfig(String type)
public String getType()
getType
in interface SailImplConfig
public void setType(String type)
public void validate() throws SailConfigException
SailImplConfig
SailConfigException
is thrown when the configuration is invalid. The
exception should contain an error message that indicates why the configuration is invalid.validate
in interface SailImplConfig
SailConfigException
- If the configuration is invalid.public Resource export(Model m)
export
in interface SailImplConfig
public void parse(Model m, Resource implNode) throws SailConfigException
parse
in interface SailImplConfig
SailConfigException
public long getIterationCacheSyncThreshold()
getIterationCacheSyncThreshold
in interface SailImplConfig
public void setIterationCacheSyncThreshold(long iterationCacheSyncThreshold)
iterationCacheSyncThreshold
- The iterationCacheSyncThreshold to set.public long getConnectionTimeOut()
public void setConnectionTimeOut(long connectionTimeOut)
connectionTimeOut
- timeout (in ms)Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.