Hi
   I am new to Ignite, and i will use C# save cache and fetch with python and 
C++. After read the doc , i use the config with simple name to avoid strange 
thing of namespace. But it seems not effect. I set simpleName to true. But in 
Ignite, it saves objects with full name.
We can see the class name PanoControls.Views.V2XVehicleParaView is full name 
not simple name, in my think, if we set simpleName to true, ignite should save 
with name V2XVehicleParaView.


Could anyone help?
Below list config and ignite data.


Config:


          <property name="nameMapper">
            <bean class="org.apache.ignite.binary.BinaryBasicNameMapper">
              <property name="simpleName" value="true"/>
            </bean>
          </property>



Data in Ignite


visor> cache -scan -c=PanoSenarioFrameCache
Entries in  cache: PanoSenarioFrameCache
+==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+
|    Key Class     |    Key     |           Value Class           |             
                                                                                
                                                                                
                                                                                
                                                                                
                                      Value                                     
                                                                                
                                                                                
                                                                                
                                                                                
               |
+==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+
| java.lang.String | V2XVehicle | o.a.i.i.binary.BinaryObjectImpl | 
PanoControls.Views.V2XVehicleParaView [hash=-1087297976, 
ActivateTheTurnSignalProperty=PanoControls.Views.V2XVehicleParaView+ActivateTheTurnSignal
 [ordinal=0], RangeRadius=0, 
ActivateEmergencyBrakeProperty=PanoControls.Views.V2XVehicleParaView+ActivateEmergencyBrake
 [ordinal=0], 
EmergencyVehicleProperty=PanoControls.Views.V2XVehicleParaView+EmergencyVehicle 
[ordinal=0], PacketLossRate=12.0, AverageDelay=0, Frequency=0.0, 
OutOfControlVehicleProperty=System.Collections.Generic.List`1[[PanoControls.Views.V2XVehicleParaView+OutOfControlVehicle]]
 [idHash=353470994, hash=1983113259, _size=0, _items=[, _version=0], 
CurrentParentNameProperty=runVeh, 
ActivateFaultLightProperty=PanoControls.Views.V2XVehicleParaView+ActivateFaultLight
 [ordinal=0]] |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
visor>

Reply via email to