From: mhickey@ironman.qadce.osf.org (Mark Hickey)
Subject: Re: A Question on CDS client caches
Date: 29 Nov 1993 17:27:18 GMT [thread overview]
Message-ID: <2ddbdm$c8v@paperboy.osf.org> (raw)
In-Reply-To: 1993Nov22.142401.6993@decuk.uvo.dec.com
In article <1993Nov22.142401.6993@decuk.uvo.dec.com> (John Corne) writes:
>
>|>Hello,
>|>
>|>I was wondering if anyone can answer a question I have about the
>|>CDS client side caches.
... stuff deleted...
>|>So, how do client side caches keep in step with changes to the master
>|>namespace operated by cdsd, as the cdsd cannot propogate updates to the
>|>client side caches? (eg. the server I'm looking for moves machine, the
>|>client side cache has old information and I restart my client. How is
>|>this resolved?).
>|>
From the client side, as noted in previous articles, you can set a limit on the
period of time that cached information is considered valid via the two calls:
rpc_ns_mgmt_handle_set_exp_age - sets the time limit for retaining cached
info for the passed name service handle
(ie: an inquiry context). The time limit
is used only in calls to rpc_ns*next
functions; eg: binding_import_next.
rpc_ns_mgmt_set_exp_age - sets the time limit for retaining cached info for
the application.
If the expiration age parameter specified to either call is 0, then effectively
no information is cached; the clerk goes to the clearinghouse every time
information is requested. These calls have associated *_inq* calls that
return the current expiration age.
You can find out if the server is up on the binding you have via
the resolve_binding and is_server_listening calls.
Mark Hickey
OSF DCE System Test
mhickey@osf.org
prev parent reply other threads:[~1993-11-29 17:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-11-17 15:18 A Question on CDS client caches David Crone
1993-11-17 16:42 ` Greg Brail
1993-11-22 14:24 ` John Corne
1993-11-29 17:27 ` Mark Hickey [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox