| <?xml version="1.0"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| |
| |
| <cache xmlns="http://geode.apache.org/schema/cache" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" |
| version="1.0"> |
| <!--cache-server host="cod" port="24680" /--> |
| <cache-server port="HOST_PORT2"> |
| <group>ServerGroup2</group> |
| </cache-server> |
| |
| <region name="Portfolios2"> |
| <region-attributes scope="distributed-ack" data-policy="replicate"/> |
| |
| <!-- making entries --> |
| <entry> |
| <key><string>port1-1</string></key> |
| <value> |
| <declarable> |
| <class-name>javaobject.Portfolio</class-name> |
| <parameter name="ID"> |
| <string>1</string> |
| </parameter> |
| <parameter name="pkid"> |
| <string>A0</string> |
| </parameter> |
| <parameter name="type"> |
| <string>type1</string> |
| </parameter> |
| <parameter name="status"> |
| <string>active</string> |
| </parameter> |
| <parameter name="position1"> |
| <declarable> |
| <class-name>javaobject.Position</class-name> |
| <parameter name="secId"> |
| <string>SUN</string> |
| </parameter> |
| <parameter name="sharesOutstanding"> |
| <string>3400</string> |
| </parameter> |
| <parameter name="secType"> |
| <string>r</string> |
| </parameter> |
| <parameter name="pid"> |
| <string>345</string> |
| </parameter> |
| </declarable> |
| </parameter> |
| <parameter name="position2"> |
| <declarable> |
| <class-name>javaobject.Position</class-name> |
| <parameter name="secId"> |
| <string>IBM</string> |
| </parameter> |
| <parameter name="sharesOutstanding"> |
| <string>8765</string> |
| </parameter> |
| <parameter name="secType"> |
| <string>p</string> |
| </parameter> |
| <parameter name="pid"> |
| <string>123</string> |
| </parameter> |
| </declarable> |
| </parameter> |
| </declarable> |
| </value> |
| </entry> |
| </region> |
| <region name="Portfolios3"> |
| <region-attributes scope="distributed-ack" data-policy="replicate"/> |
| </region> |
| <region name="Positions"> |
| <region-attributes scope="distributed-ack" data-policy="replicate"/> |
| </region> |
| </cache> |