254255256257258259260261262263264
shutdownStarted = true; } Agent agent = Globals.getAgent(); if (agent != null) { agent.notifyShutdownStart(); } if (time > 0) { targetShutdownTime = System.currentTimeMillis() + time;