Module cloudi_service_filesystem

CloudI Filesystem

A service that caches filesystem data for quick responses.

Copyright © 2011-2014 Michael Truog

Version: 1.4.0 Dec 20 2014 17:53:26 ------------------------------------------------------------------------

Behaviours: cloudi_service.

Authors: Michael Truog (mjtruog [at] gmail (dot) com).

Description

CloudI Filesystem

A service that caches filesystem data for quick responses.

Function Index

cloudi_service_handle_info/3
cloudi_service_handle_request/11
cloudi_service_init/4
cloudi_service_terminate/3
notify_all/3

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.
notify_all/4

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.
notify_all/5

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.
notify_clear/2

Clear all notification subscriptions for a file.

.
notify_one/3

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.
notify_one/4

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.
notify_one/5

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.

Function Details

cloudi_service_handle_info/3

cloudi_service_handle_info(Request, State, Dispatcher) -> any()

cloudi_service_handle_request/11

cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, File_notify, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()

cloudi_service_init/4

cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()

cloudi_service_terminate/3

cloudi_service_terminate(Reason, Timeout, State) -> any()

notify_all/3

notify_all(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name()) -> {ok, binary()} | {error, any()}

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.

notify_all/4

notify_all(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name(), NotifyTimeout::cloudi_service:timeout_milliseconds()) -> {ok, binary()} | {error, any()}

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.

notify_all/5

notify_all(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name(), NotifyTimeout::cloudi_service:timeout_milliseconds(), NotifyPriority::cloudi_service:priority()) -> {ok, binary()} | {error, any()}

Subscribe all service processes to be notified of file updates.

The current file contents is returned, if the file is found.

notify_clear/2

notify_clear(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name()) -> ok | {error, any()}

Clear all notification subscriptions for a file.

notify_one/3

notify_one(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name()) -> {ok, binary()} | {error, any()}

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.

notify_one/4

notify_one(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name(), NotifyTimeout::cloudi_service:timeout_milliseconds()) -> {ok, binary()} | {error, any()}

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.

notify_one/5

notify_one(Dispatcher::cloudi_service:dispatcher() | cloudi:context(), Name::cloudi_service:service_name(), NotifyName::cloudi_service:service_name(), NotifyTimeout::cloudi_service:timeout_milliseconds(), NotifyPriority::cloudi_service:priority()) -> {ok, binary()} | {error, any()}

Subscribe to have a service process notified of file updates.

The current file contents is returned, if the file is found.


Generated by EDoc, Dec 20 2014, 17:53:26.