java.lang.Object | |||
↳ | org.rrd4j.core.RrdBackendFactory | ||
↳ | org.rrd4j.core.RrdFileBackendFactory | ||
↳ | org.rrd4j.core.RrdSafeFileBackendFactory |
Factory class which creates actual RrdSafeFileBackend
objects.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | LOCK_RETRY_PERIOD | Default time between two consecutive file locking attempts. | |||||||||
long | LOCK_WAIT_TIME | Default time (in milliseconds) this backend will wait for a file lock. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns time between two consecutive file locking attempts.
| |||||||||||
Returns time this backend will wait for a file lock.
| |||||||||||
Returns the name (primary ID) for the factory.
| |||||||||||
Sets time between two consecutive file locking attempts.
| |||||||||||
Sets time this backend will wait for a file lock.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates RrdSafeFileBackend object for the given file path.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default time between two consecutive file locking attempts.
Default time (in milliseconds) this backend will wait for a file lock.
Returns time between two consecutive file locking attempts.
Returns time this backend will wait for a file lock.
Returns the name (primary ID) for the factory.
Sets time between two consecutive file locking attempts.
lockRetryPeriod | time (in milliseconds) between two consecutive file locking attempts. |
---|
Sets time this backend will wait for a file lock.
lockWaitTime | Maximum lock wait time (in milliseconds) |
---|
Creates RrdSafeFileBackend object for the given file path.
path | File path |
---|---|
readOnly | This parameter is ignored |
IOException | Thrown in case of I/O error. |
---|