The Sun GlassFish Mobility Platform client library keeps track of how much time has lapsed since the last synchronization attempt with the gateway. At the beginning of each synchronization, the client library calculates how much time has elapsed. If the time since the last synchronization exceeds the threshold specified by the application developer, then all Sun GlassFish Mobility Platform records can be erased from the device.
The library also maintains a count of validation attempts (even across restarts of the application). If a threshold of failed attempts is exceeded, both data destruction and lockout can occur.