public class Watchdog extends Object
public static void start(int secs) throws IllegalArgumentException
secs
- The number of seconds after which the watchdog will trigger. Valid values are 0 to switch off, or
between 10 and 300 to set watchdog time-out.IllegalArgumentException
- if:
kick()
public static void kick() throws IllegalStateException
IllegalStateException
- if:
start(int)
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.