Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Clarification of Job#setProperty please
icon5.gif  Clarification of Job#setProperty please [message #646910] Mon, 03 January 2011 04:00
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
The Javadoc comment for org.eclipse.core.runtime.jobs.Job#setProperty(QualifiedName key, Object value) intrigues me and I wonder if someone here can provide clarification please.

Quote:
...
* Properties are intended to be used as a caching mechanism
* by ISV plug-ins. They allow key-object associations to be stored with
* a job instance. These key-value associations are maintained in
* memory (at all times), and the information is never discarded automatically.
...


1. What are "ISV plug-ins"?
2. What exactly does "... never discarded automatically." mean? What are the consequences of setting a Job property?
3. Can properties be used to store some value for later retrieval in a JobChangeListener? For instance, if the job is scheduled to make a network call to get data, can it store that data as a property, return Status.OK_STATUS then have an attached JobChangeAdapter retrieve that data for further handling? Or is this not what the method was intended for?

Thanks,
Craig

[Updated on: Mon, 03 January 2011 04:02]

Report message to a moderator

Previous Topic:Why Not Easy!
Next Topic:Simple problem with eclipse 3.5
Goto Forum:
  


Current Time: Thu Apr 25 06:54:39 GMT 2024

Powered by FUDForum. Page generated in 0.02412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top