[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [geclipse-dev] Can we NOT use FileStateRepository from GRIA library?
|
Hi Mariusz,
In fact the state repository is already used within our gria plug-in (see eu.geclipse.gria.internal.Activator.getRepository() for reference). When creating a new gria service this state repository is used to create the gria instance of this service (see eu.geclipse.gria.services.GriaServiceCreator#createFromURL(...) and #loadService()). The repository is actually a FileStateRepository, the underlying file is stored in .metadata/.plugins/eu.geclipse.gria/.gria.
This is just a very first implementation of all this stuff and I hope that the IT Innovation guys will take this as a starting point in order to provide us a more consistent implementation.
Cheers, Mathias
-----Ursprüngliche Nachricht-----
Von: geclipse-dev-bounces@xxxxxxxxxxx [mailto:geclipse-dev-bounces@xxxxxxxxxxx] Im Auftrag von Mariusz Wojtysiak
Gesendet: Freitag, 7. Dezember 2007 10:07
An: geclipse-dev@xxxxxxxxxxx
Betreff: [geclipse-dev] Can we NOT use FileStateRepository from GRIA library?
Hello!
I'm researching job submission to GRIA, and have one point to discuss,
especially to GRIA experts from IT-Innovation.
I'm convinced we should store Job objects for submitted jobs in
g-Eclipse model. What means for job submitted to GRIA, should be created
GridJob object with related IResource (IFolder with contents) in user's
workspace.
For job submission we will use GRIA library. I see this library uses own
model to store objects: StateRepository. I see 2 implementations of this
repository: MemoryStateRepository and FileStateRepository.
MemoryStateRepository doesn't store objects between sessions.
I have following problem.
1. Today user is sending job to GRIA and closing g-Eclipse
2. Tomorrow user is starting g-Eclipse and want to check current
job-status, download output files created by job etc.
Should I use FileStateRepository to create JobConversation needed to
check job status?
I'd like to abandon using FileStateRepository, because g-Eclipse has own
repository for submitted jobs.
Is there another possibility to check job status for job with given
job-id (without using FileStateRepository)?
Regards,
--
Mariusz Wojtysiak
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev