GigaSpaces XAP 10.0.1 API

com.sun.jini.admin
Interface StorageLocationAdmin


public interface StorageLocationAdmin

Admin interface for controlling the location of a service's persistent storage. Administrable services are encouraged to have their admin object implement this interface.

Author:
Sun Microsystems, Inc.
See Also:
Administrable.getAdmin()

Method Summary
 String getStorageLocation()
          Returns the location of the service's persistent storage.
 void setStorageLocation(String location)
          Sets the location of the service's persistent storage, moving all current persistent storage from the current location to the specified new location.
 

Method Detail

getStorageLocation

String getStorageLocation()
                          throws RemoteException
Returns the location of the service's persistent storage. Typically returns a directory pathname unless the service specifies otherwise.

Throws:
RemoteException

setStorageLocation

void setStorageLocation(String location)
                        throws IOException,
                               RemoteException
Sets the location of the service's persistent storage, moving all current persistent storage from the current location to the specified new location.

Throws:
IOException - if moving the persistent storage fails
RemoteException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.