Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geclipse-dev] Replicable File Systems - proposal to the core changes

Hi * and esp. Ariel & Mathias.

During our last internal meeting here in Poznan, we found useful to add generic support for replicable file systems into g-Eclipse core (esp. for the gecl file system).

I'm about to create GUI for the replicable file system (the only one we support right now is LFC), but it would be nice to let the third-party plugins also take advantage of the work already done.

The abstraction would consist of:
- IReplicableStore,
  - public boolean isReplicable();
  - public void addReplica( URI replicaURI ) throws CoreException;
  - public void delReplica( URI replicaURI ) throws CoreException;
  - public URI[] listReplicas() throws CoreException;
  - public String[] listReplicasHosts() throws CoreException;

- IReplicableFileSystem:
  - boolean isReplicable(); // does file system support replication?
- URI getDefaultReplicaURI; // get default location where replicas will be created

- GUI components:
  - replicas view
  - preferences page
  - context menu actions

The latter two would be extensible by the third-party plugins.

I created first draft of the abstraction of replicable file store and publish it at:
eu.geclipse.efs.lgp.IReplicableStore
the location will change depends on how we decide.

The changes would involve some changes to the gecl file store and file system, ie. to delegate this methods to the underlying file system if the latter supports it.

Please let me know what you think about it.

--
Mateusz Pabiś


Back to the top