class NewStyleCacheCopy(pb.Cacheable, pb.RemoteCache): (source)
Undocumented
Method | get |
Get state to cache on the client and client-cache reference to observe locally. |
Inherited from Cacheable
:
Method | jelly |
Return an appropriate tuple to serialize me. |
Method | stopped |
This method is called when a client has stopped observing me. |
Inherited from Copyable
(via Cacheable
):
Method | get |
Gather state to send when I am serialized for a peer. |
Method | get |
Gather state to send when I am serialized for a particular perspective. |
Method | get |
Determine what type tag to send for me. |
Method | get |
Determine what type tag to send for me. |
Inherited from RemoteCache
(via Cacheable
, Copyable
):
Method | __cmp__ |
Compare me [to another RemoteCache. |
Method | __del__ |
Do distributed reference counting on finalize. |
Method | __hash__ |
Hash me. |
Method | remote |
A remote message has been received. Dispatch it appropriately. |
Method | unjelly |
Perform the inverse operation of Jellyable.jellyFor . |
Instance Variable | __dict__ |
Undocumented |
Instance Variable | broker |
Undocumented |
Instance Variable | luid |
Undocumented |
Method | _borgify |
Create a new object that shares its state (i.e. its __dict__) and type with this object, but does not share its identity. |
Inherited from RemoteCopy
(via Cacheable
, Copyable
, RemoteCache
):
Method | set |
I will be invoked with the state to copy locally. |
Inherited from Unjellyable
(via Cacheable
, Copyable
, RemoteCache
, RemoteCopy
):
Method | set |
Undocumented |
Inherited from Serializable
(via Cacheable
, Copyable
, RemoteCache
, RemoteCopy
, Unjellyable
):
Method | process |
Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable
(via Cacheable
, Copyable
, RemoteCache
, RemoteCopy
, Unjellyable
, Serializable
):
Method | get |
Undocumented |
Get state to cache on the client and client-cache reference to observe locally.
This is similar to getStateToCopyFor, but it additionally passes in a reference to the client-side RemoteCache instance that will be created when it is unserialized. This allows Cacheable instances to keep their RemoteCaches up to date when they change, such that no changes can occur between the point at which the state is initially copied and the client receives it that are not propagated.