Using the Shared memory object for writing.
使用共享内存对象写数据。
Create your Shared memory object as shown in Listing 2.
像清单2这样创建共享内存对象。
If the Shared memory object cannot be found, an exception is thrown.
如果无法找到这个共享内存对象,就会抛出异常。
Memcached is a high-performance, distributed memory object caching system.
memcached是一个高性能、分布式的内存对象缓存系统。
Your first step in creating an in-memory object hierarchy is to create an object factory.
创建内存对象层次结构的第一步是创建一个对象工厂。
It retains all the content and references structure of the original in-memory object.
它包含了原始内存中对象的所有内容和引用结构。
In Listing 4, you create the Shared memory object using the open_only and read_only attributes.
在清单4中,使用open_only和read_only属性创建共享内存对象。
Now take a look at the the reverse process — building an in-memory object model from a data stream.
现在看看相反的过程,从数据流建立内存对象模型。
This technique may end up only being applicable when using very large, in memory object collections.
这个技术目前只在使用大型的内存对象集合的情况下才可用。
For a process to use a Shared memory object, the process has to map the object in its address space.
使用共享内存对象的进程必须在自己的地址空间中映射对象。
Another benefit of using mapped_region is that both full and partial access to the Shared memory object is possible.
使用mapped_region的另一个好处是可以对共享内存对象进行完全和部分访问。
In Figure 1, step 5 creates a component model. This allows a pairing of the XML node (now an in-memory object) with a GUI component.
在图1中,步骤5创建了一个组件模型,支持将这个XML节点(现在是内存对象)和一个GUI组件组成一对。
For every XUINode (the in-memory object representing any XML element) read in by the framework, a XUIComponent must be created to encompass the XUINode.
对于框架读入的每个XUINode(表示任意xml元素的内存对象),必须创建一个XUIComponent来包围XUINode。
Similar to the case for a Shared memory object, a message queue that is opened only for reading will have the open_only attribute passed in the constructor.
与共享内存对象相似,对于以只读方式打开消息队列,应该把open_only属性传递给构造函数。
Cache as much as possible. Use memcached - memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load.
尽量做缓存,可使用memcached . memcached是一款高性能的内存对象缓存系统,可用来加速动态Web应用程序,减轻数据库负载。
When the object is later re-created from its byte string, it will be a new in-memory object identical in structure and value to the original, though located at a different memory address.
当对象后来从其字节串重建时,内存中新建的对象与原对象具有相同的结构和值,但位于不同的内存地址。
It is powered by memcached, a popular distributed memory-object caching system.
它受流行的分布式内存对象缓存系统memcached支持。
It is powered by memcached, a popular distributed memory-object caching system.
它受流行的分布式内存对象缓存系统memcached支持。
应用推荐