CloudTran Home

 
  
 
Contents  >   11.  CloudTran Profile Reference
 


11.34 Space Object

Used on
processingUnit
DescriptionLogically a space is a shared repository for objects. Objects can be written to, and taken from, a space. In practice a space will be an area of shared memory.

A space is the persistent data part of the Processing Unit, which is why a 'space' is contained within a 'processing-unit' and is not a meta-class peer of a processing-unit.

A PU can have 0, 1 or many spaces.

The URL generated for this space (for an external reference) will be <protocol>://<host>:<port>/<container-name>/<name>?<args>
Contained
Lists
1
Name  lifecycleEvent
Type  lifecycleEvent
Description  The list of lifecycle events triggered in this space. See also selection-events.
Indexed property  name
Inherited
properties
text (base property)

 11.34.1  Property 'description'
 11.34.2  Property 'fifo'
 11.34.3  Property 'name'

11.34.1  Property 'description'
TypeString

11.34.2  Property 'fifo'
DescriptionThis is the FIFO (first-in, first-out) property - if set true, entries will be taken from the space in the same order they were inserted. It is present on JavaBeans and spaces, indicating that operations on these objects should use FIFO. Although you can set this on a space, you should be aware that it may needlessly reduce performance on operations where it is unnecessary.

If this value is not set, the value is searched by delegation to the model object's parents. This will continue all the way up to the application object. The application object's fifo setting therefore gives a default for the all the objects defined in the application.

The default for 'fifo' in the application object is normally false, so JavaBeans in spaces will <b><u>not</u></b> be guaranteed to be read/taken in the same order they were written. This follows the GigaSpaces defaults where 'fifo' is false.

You can override this default by setting fifo=true in resources/giga-spaces/control/application/component.properties. See customization 10.
Typeboolean

11.34.3  Property 'name'
DescriptionThe name of this space.
TypeString
Requiredtrue

Copyright (c) 2001-2011 CloudTran Inc.