| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright year Sun Microsystems, Inc. |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.server.extensions; |
| | |
| | | lastState = 2; |
| | | if(handler != null) |
| | | { |
| | | handler.diskFullThresholdReached(lastFreeSpace); |
| | | handler.diskFullThresholdReached(this); |
| | | } |
| | | } |
| | | } |
| | |
| | | lastState = 1; |
| | | if(handler != null) |
| | | { |
| | | handler.diskLowThresholdReached(lastFreeSpace); |
| | | handler.diskLowThresholdReached(this); |
| | | } |
| | | } |
| | | } |
| | |
| | | lastState = 0; |
| | | if(handler != null) |
| | | { |
| | | handler.diskSpaceRestored(lastFreeSpace); |
| | | handler.diskSpaceRestored(this); |
| | | } |
| | | } |
| | | } |