Package org.apache.torque.manager

# Klasse MethodCacheKey

java.lang.Object
org.apache.torque.manager.MethodCacheKey

Alle implementierten Schnittstellen:
  `Serializable`

public class MethodCacheKey extends Object implements Serializable
The key for the MethodResultCache.

Version:
  $Id: MethodCacheKey.java 1917245 2024-04-21 14:06:23Z tv $
Siehe auch:
  - Serialisierte Form

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `MethodCacheKey()`
  `MethodCacheKey(Serializable instanceOrClass, String method, Serializable... arg)`
  Construct key

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `boolean`
  `equals(Object obj)`
  `String`
  `getGroupKey()`
  Return the group key
  `int`
  `hashCode()`
  `void`
  `init(Serializable instanceOrClass, String method, Serializable... arg)`
  Initialize the key
  `String`
  `toString()`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Konstruktordetails

  - ### MethodCacheKey

    public MethodCacheKey()

  - ### MethodCacheKey

    public MethodCacheKey(Serializable instanceOrClass, String method, Serializable... arg)
    Construct key
    Parameter:
      `instanceOrClass` - the Object on which the method is invoked. if the method is static, a String representing the class name is used.
      `method` - the method name
      `arg` - optional arguments for the method

- ## Methodendetails

  - ### init

    public void init(Serializable instanceOrClass, String method, Serializable... arg)
    Initialize the key
    Parameter:
      `instanceOrClass` - the Object on which the method is invoked. if the method is static, a String representing the class name is used.
      `method` - the method name
      `arg` - optional arguments for the method

  - ### getGroupKey

    public String getGroupKey()
    Return the group key
    Gibt zurück:
      the group key

  - ### equals

    public boolean equals(Object obj)
    Setzt außer Kraft:
      `equals` in Klasse `Object`

  - ### hashCode

    public int hashCode()
    Setzt außer Kraft:
      `hashCode` in Klasse `Object`

  - ### toString

    public String toString()
    Setzt außer Kraft:
      `toString` in Klasse `Object`