Arquivo objectgrid.xsd Spring

Use o arquivo objectgrid.xsd Spring para integrar o eXtreme Scale ao Spring para gerenciar as transações do eXtreme Scale e configurar os clientes e servidores.

Consulte o Arquivo XML descritor do Spring para obter descrições dos elementos e atributos definidos no arquivo objectgrid.xsd Spring.

Arquivo objectgrid.xsd Spring

<xsd:schema xmlns="http://www.ibm.com/schema/objectgrid"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.ibm.com/schema/objectgrid"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">

	<xsd:element name="transactionManager">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
      </xsd:complexType>
   </xsd:element>

	<xsd:element name="register">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="gridname" type="xsd:string" />
      </xsd:complexType>
   </xsd:element>

	<xsd:element name="server">
	  <xsd:complexType>
		<xsd:sequence>
			<xsd:element name="catalog" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:attribute name="host" type="xsd:string" />
					<xsd:attribute name="port" type="xsd:integer" />
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="xioChannel" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:sequence minOccurs="1" maxOccurs="unbounded">
						<xsd:element ref="property" />
					</xsd:sequence>
					<xsd:attribute name="name" type="xsd:string" />
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="tracespec" type="xsd:string" />
         <xsd:attribute name="tracefile" type="xsd:string" />
         <xsd:attribute name="statspec" type="xsd:string" />
         <xsd:attribute name="jmxport" type="xsd:integer" />
         <xsd:attribute name="isCatalog" type="xsd:boolean" />
         <xsd:attribute name="name" type="xsd:string" />
         <xsd:attribute name="haManagerPort" type="xsd:integer"/>
         <xsd:attribute name="listenerHost" type="xsd:string"/>
         <xsd:attribute name="listenerPort" type="xsd:integer"/>
         <xsd:attribute name="maximumThreadPoolSize" type="xsd:integer"/>
         <xsd:attribute name="memoryThresholdPercentage" type="xsd:integer"/>
         <xsd:attribute name="minimumThreadPoolSize" type="xsd:integer"/>
         <xsd:attribute name="workingDirectory" type="xsd:string"/>
         <xsd:attribute name="zoneName" type="xsd:string"/>
         <xsd:attribute name="enableChannelFramework" type="xsd:boolean"/>
         <xsd:attribute name="enableSystemStreamToFile" type="xsd:boolean"/>
         <xsd:attribute name="enableMBeans" type="xsd:boolean"/>
         <xsd:attribute name="serverPropertyFile" type="xsd:string"/>
         <xsd:attribute name="catalogServerProperties" type="xsd:string"/>
         <xsd:attribute name="jvmStatsLoggingEnabled" type="xsd:boolean"/>
         <xsd:attribute name="maximumJVMStatsFiles" type="xsd:integer"/>
         <xsd:attribute name="maximumJVMStatsFileSize" type="xsd:integer"/>
         <xsd:attribute name="jvmStatsFileName" type="xsd:string"/>
         <xsd:attribute name="jvmStatsWriteRate" type="xsd:integer"/>
         <xsd:attribute name="mapStatsLoggingEnabled" type="xsd:boolean"/>
         <xsd:attribute name="maximumMapStatsFiles" type="xsd:integer"/>
         <xsd:attribute name="maximumMapStatsFileSize" type="xsd:integer"/>
         <xsd:attribute name="mapStatsFileName" type="xsd:string"/>
         <xsd:attribute name="mapStatsWriteRate" type="xsd:integer"/>
         <xsd:attribute name="OGStatsLoggingEnabled" type="xsd:boolean"/>
         <xsd:attribute name="maximumOGStatsFiles" type="xsd:integer"/>
         <xsd:attribute name="maximumOGStatsFileSize" type="xsd:integer"/>
         <xsd:attribute name="OGStatsFileName" type="xsd:string"/>
         <xsd:attribute name="OGStatsWriteRate" type="xsd:integer"/>
         <xsd:attribute name="enableXM" type="xsd:boolean"/>
         <xsd:attribute name="maximumXMSize" type="xsd:integer"/>
         <xsd:attribute name="minimumXIOWorkerThreads" type="xsd:integer"/>
         <xsd:attribute name="maximumXIOWorkerThreads" type="xsd:integer"/>
         <xsd:attribute name="minimumXIONetworkThreads" type="xsd:integer"/>
         <xsd:attribute name="maximumXIONetworkThreads" type="xsd:integer"/>
      </xsd:complexType>
	</xsd:element>

    <xsd:element name="property">
      <xsd:complexType>
        <xsd:attribute name="name" type="xsd:string" />
        <xsd:attribute name="value" type="xsd:string"/>
      </xsd:complexType>
    </xsd:element>

	<xsd:element name="catalogServerProperties">
	  <xsd:complexType>
		<xsd:sequence>
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element ref="catalogServerEndPoint"/>
			</xsd:choice>
			<xsd:element name="foreignDomains" minOccurs="0"
				maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:sequence minOccurs="1" maxOccurs="unbounded">
						<xsd:element ref="foreignDomain" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
        <xsd:attribute name="id" type="xsd:ID" />
	    <xsd:attribute name="enableQuorum" type="xsd:boolean"/>
	    <xsd:attribute name="heartBeatFrequencyLevel" type="xsd:integer"/>
	    <xsd:attribute name="domainName" type="xsd:string"/>
	    <xsd:attribute name="clusterSecurityURL" type="xsd:anyURI"/>
	    <xsd:attribute name="placementDeferralInterval" type="xsd:long"/>
	  </xsd:complexType>
	</xsd:element>

	<xsd:element name="catalogServerEndPoint">
	  <xsd:complexType>
	  	<xsd:attribute name="name" type="xsd:string" />
	    <xsd:attribute name="host" type="xsd:string" />
	    <xsd:attribute name="clientPort" type="xsd:integer"/>
	    <xsd:attribute name="peerPort" type="xsd:integer"/>
	  </xsd:complexType>
	</xsd:element>

	<xsd:element name="foreignDomain">
		<xsd:complexType>
			<xsd:sequence minOccurs="1" maxOccurs="unbounded">
				<xsd:element ref="foreignDomainEndPoint" />
			</xsd:sequence>
			<xsd:attribute name="name" />
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="foreignDomainEndPoint">
		<xsd:complexType>
			<xsd:attribute name="host" type="xsd:string" />
			<xsd:attribute name="listenerPort" type="xsd:integer"/>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="container">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="objectgridxml" type="xsd:string" />
         <xsd:attribute name="deploymentxml" type="xsd:string" />
         <xsd:attribute name="server" type="xsd:string" />
      </xsd:complexType>
   </xsd:element>

   	<xsd:element name="JPALoader">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="entityClassName" type="xsd:string" />
         <xsd:attribute name="preloadPartition" type="xsd:integer" />
      </xsd:complexType>
   </xsd:element>

   <xsd:element name="JPATxCallback">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="persistenceUnitName" type="xsd:string" />
		 <xsd:attribute name="jpaPropertyFactory" type="xsd:string" />
		 <xsd:attribute name="exceptionMapper" type="xsd:string" />
	  </xsd:complexType>
   </xsd:element>

   <xsd:element name="JPAEntityLoader">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="entityClassName" type="xsd:string" />
         <xsd:attribute name="preloadPartition" type="xsd:integer" />
      </xsd:complexType>
   </xsd:element>

   <xsd:element name="LRUEvictor">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="maxSize" type="xsd:integer" />
         <xsd:attribute name="sleepTime" type="xsd:integer" />
         <xsd:attribute name="numberOfLRUQueues" type="xsd:integer" />
         <xsd:attribute name="useMemoryUsageThresholdEviction" type="xsd:boolean" />
      </xsd:complexType>
   </xsd:element>

   <xsd:element name="LFUEvictor">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="maxSize" type="xsd:integer" />
         <xsd:attribute name="sleepTime" type="xsd:integer" />
         <xsd:attribute name="numberOfHeaps" type="xsd:integer" />
         <xsd:attribute name="useMemoryUsageThresholdEviction" type="xsd:boolean" />
      </xsd:complexType>
   </xsd:element>

   <xsd:element name="HashIndex">
      <xsd:complexType>
         <xsd:attribute name="id" type="xsd:ID" />
         <xsd:attribute name="name" type="xsd:string" />
         <xsd:attribute name="attributeName" type="xsd:string" />
         <xsd:attribute name="rangeIndex" type="xsd:boolean" />
         <xsd:attribute name="fieldAccessAttribute" type="xsd:boolean" />
         <xsd:attribute name="POJOKeyIndex" type="xsd:boolean" />
      </xsd:complexType>
   </xsd:element>
</xsd:schema>