I inserted 4 items in my cache. I have a JTable that displays them as they show up. I saw all four come in. That app's console logging confirmed it:
2009-10-08 14:51:50.299/78.263 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 1 SIM 2009281 0
2009-10-08 14:54:52.292/260.256 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 3 SIM 2009281 0
2009-10-08 14:55:11.208/279.172 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 5 SIM 2009281 0
2009-10-08 14:55:36.024/303.988 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 7 SIM 2009281 0
I tried to list the items using coherence's provided console app:
Map (orders): cache executions
<distributed-scheme>
<!--
To use POF serialization for this partitioned service,
uncomment the following section
<serializer>
<class-
name>com.tangosol.io.pof.ConfigurablePofContext</class-
name>
</serializer>
-->
<scheme-name>example-distributed</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<local-scheme>
<scheme-ref>example-binary-backing-map</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
Map (executions): list
MSFT 47V31209 5 SIM 2009281 0 = BUY 1 MSFT @ 1.0 Thu Oct 08 14:55:11 CDT 2009
MSFT 47V31209 7 SIM 2009281 0 = BUY 1 MSFT @ 1.0 Thu Oct 08 14:55:35 CDT 2009
MSFT 47V31209 3 SIM 2009281 0 = BUY 1 MSFT @ 1.0 Thu Oct 08 14:54:52 CDT 2009
Iterator returned 3 items
Map (executions): size
4
It says size is 4 but "Iterator returned 3 items". what??
I refreshed my swing app's CQC and it confirmed that there are only 3 now:
2009-10-08 15:01:25.147/653.111 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 5 SIM 2009281 0
2009-10-08 15:01:25.147/653.111 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 3 SIM 2009281 0
2009-10-08 15:01:25.147/653.111 Oracle Coherence GE 3.5/459 <Info> (thread=AWT-EventQueue-0, member=4): insert MSFT 47V31209 7 SIM 2009281 0
Apparently an item disappeared from the cache somehow, right? My app with the CQC updating the JTable didn't get any entryDeleted events.
Thanks,
Andrew