Previous Next  

Element: Partition

Document type

Module

Document XPath

/Module/Partitions/Partition

Schema XPath

/ConfigRecord/Module/Partitions/Partition

Description

The Partition element specifies the name of a partition and the location of the PartitionDescription document that defines the partition.

You specify the location of the PartitionDescription document using an xi:include element.

<Module Name="my-module" Id="0">
 ...
 <Partitions>
  <Partition Name="my-application-partition" Id="1">
   <xi:include href="my-application-partition.xml"/>
  </Partition>
  ...
 </Partitions>
 ...
</Module>
			

Alternatively, you can write the PartitionDescription element directly into the Module document in place of the xi:include element.

<Module Name="my-module" Id="0">
 ...
 <Partitions>
  <Partition Name="my-application-partition" Id="1">
   <PartitionDescription ...>
	 ...
	 </PartitionDescription>
  </Partition>
  ...
 </Partitions>
 ...
</Module>
			
Use

Optional, unbounded

Children

PartitionDescription

xi:include

Attributes

Id

Name

Restrictions

None

Attribute: Id

Document XPath
/Module/Partitions/Partition/@Id
Schema XPath
/ConfigRecord/Module/Partitions/Partition/@Id
Description

An identifier for the partition. At runtime, this is the PARTITION_STATUS_TYPE.IDENTIFIER returned by GET_PARTITION_STATUS().

Use

Required

Target location

ConfigRecord

XML data type

IdentifierValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

N/A

Values with special meanings

None

Restrictions

Attribute: Name

Document XPath
/Module/Partitions/Partition/@Name
Schema XPath
/ConfigRecord/Module/Partitions/Partition/@Name
Description

The name of the partition. The value does not need to be the same as the name of the application specified in /ConfigRecord/Module/Applications/Application/@Name. This value (not /ConfigRecord/Module/Applications/Application/@Name) becomes the name attribute for the application in the configuration record.

This value is used to associate a partition with a time window in a schedule via /ConfigRecord/Module/Schedules/Schedule/PartitionWindow/@PartitionNameRef.

This value is used to associate the application with a channel via /ConfigRecord/Module/Connections/Channel/Destination/@PartitionNameRef and /ConfigRecord/Module/Connections/Channel/Source/@PartitionNameRef.

Use

Required

Target location

ConfigRecord

XML data type

xs:string

Destination data type

String

Behavior if not specified

N/A

Values with special meanings

None

Restrictions



Generated on 2007-10-15 17:17:22.