"safety buffer"


What is the meaning of "safety buffer" on the contexto below:

"Any date or time-based attribute, such as the creation time of the record, is usually a good component of a business key. However, the accuracy of System.currentTimeMillis() depends on the virtual machine and operating system. Our recommended safety buffer is 50 milliseconds, which may not be accurate enough if the time-based property is the single attribute of abusiness key."

thanks in advance.

  • Danc

    Senior Member
    English (European)
    Safety buffer in this case means "margin of error".. i.e. any time within a range of 50 milliseconds is deemed to be accurate.