Previous Topic

Next Topic

Book Contents

Book Index

Util System Time Bundle

The bundle provides the following Configuration for the System Time Admin service and the time change detector with PID com.prosyst.mbs.impl.services.util.systemtime.TimeConfiguration:

Name

Property

Type

Default Value

Description

Time Change Check Period

timeChangeCheckPeriod

int

1000

This property specifies the period in milliseconds, to poll for time changes.

Time Change Tolerance

timeChangeTolerance;

int

5000

This property identifies the time tolerance (in milliseconds). Here is the used formula to understand better the tolerance: Change Detected = ABS(newTime - (oldTime + sleep)) > tolerance")

Linux Date Syntax

linuxDateSyntax

String[]

/bin/date|-s|%YYYY-MM-dd HH:mm:ss

This property specifies the location and parameters of the linux 'date' command. If any element of the command-line starts with '%' symbol, it will be removed and the content will be interpreted as SimpleDateFormat syntax,

Linux Hwclock Syntax

linuxHwclockSyntax

String[]

/sbin/hwclock|--hctosys

This property specifies the location and parameters of the linux 'hwclock' command. If any element of the command-line starts with the '%' symbol, it will be removed and the content will be interpreted as SimpleDateFormat syntax.