-
Book Overview & Buying
-
Table Of Contents
Oracle Coherence 3.5
By :
In the remainder of this chapter we will do a quick run-down through Coherence for .NET API and cover pretty much the same topics and in the same order as we did in Chapters 2 through 7.
Even if you are not particularly interested in .NET, this should provide a quick refresher of the topics we have covered so far, so you should probably not skip this section. You will also see that C# is very much like Java and that the Coherence for .NET API is very similar to the Coherence Java API, so following the examples should be fairly straightforward.
So let's start from the beginning…
In order to obtain a reference to a named cache, you need to use the Tangosol.Net.CacheFactory class and invoke the GetCache method on it:
INamedCache cache = CacheFactory.GetCache("countries");Once you have a cache instance, you will probably want to put some objects into it and try to read them back. Similar to how NamedCache interface extends java.util.Map...
Change the font size
Change margin width
Change background colour