Summary: Information regarding pending notify templates is exposed in all management components – GigaSpaces Management Center, JMX, CLI.

Overview

Information regarding pending notify templates is exposed in all management components – GigaSpaces Management Center, JMX, CLI.

The following information is exposed:

  • Number of pending templates in whole space
  • Number of pending templates in space per class
  • FIFO indication
  • Expiration date
  • If the notification is blocked on a specific UID, the UID is shown

In the Classes view, you can click a specific class to view all the pending notify templates that are registered. You can investigate the template values by opening the Object Inspector.

In the Spaces Network view, you can see all pending templates in the entire space.

Using JMX, you can run find the space MBean and get the list of pending notify templates.

Using the CLI, you can lists all pending notify templates in the entire space.

API

The API is based on JMX technology. All information regarding pending templates is exposed via the following JMX Space MBean method:

/**
* Entry class Name.
* @return Returns the Entry class Name.
*/
String getClassName();

/**
* Entry fields names.
* @return Returns the entry fields names.
*/
String[] getFieldsNames();

/**
* Entry Fields Types.
* @return Returns The entry Fields Types
*/
String[] getFieldsTypes();

/**
* Entry field Values.
* @return Returns the entry field Values
*/
Object[] getFieldsValues();

/**
* Entry time to live.
* @return the Entry's time to live in milliseconds.
* @see net.jini.core.lease.Lease
*/
long getTimeToLive();

/**
* Entry UID.
* @return Returns the Entry UID
*/
String getUID();

/**
* If true operations will be done using FIFO ordering when multiple match found.
* @return <code>true</code> if FIFO ordering is used
*/
boolean isFifo();

A new class field has been added to the com.j_spaces.core.admin.SpaceRuntimeInfo class, that indicates a template count for each class in a certain space:

public class SpaceRuntimeInfo implements Externalizable
{
   .....................................
   /** List of numbers of pending templates for each class correlated to <code>m_ClassNames</code>. */
   public List<Integer>    m_NumOFTemplates;
   ..................................

Known Limitations

  • The information displayed is regards pending notify templates only. Other template types are not supported.
  • This feature is exposed through JMX only, not via an external API.
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence