Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.rsdn.patterns.behavioral.observer.problems.leak
Class NonTrivialFinalizeSubscriber

    java.lang.Object
      ru.rsdn.patterns.behavioral.observer.problems.leak.NonTrivialFinalizeSubscriber

All Implemented Interfaces:
  ISubscriber

    public final class NonTrivialFinalizeSubscriber

extends java.lang.Object
implements ISubscriber

Подписчик, использующий финализатор для снятия регистрации

Field Summary
`private AbstractPublisher<java.util.concurrent.CopyOnWriteArrayList<ISubscriber>>` | `publisher`

Constructor Summary
`NonTrivialFinalizeSubscriber(AbstractPublisher<java.util.concurrent.CopyOnWriteArrayList<ISubscriber>> _publisher)`

Method Summary
`void` | `eventHappen()`
`protected void` | `finalize()`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### publisher

    private final AbstractPublisher<java.util.concurrent.CopyOnWriteArrayList<ISubscriber>> publisher

Constructor Detail

### NonTrivialFinalizeSubscriber

    public NonTrivialFinalizeSubscriber(AbstractPublisher<java.util.concurrent.CopyOnWriteArrayList<ISubscriber>> _publisher)

Method Detail

### finalize

    protected void finalize()
                     throws java.lang.Throwable

  Overrides:
    `finalize` in class `java.lang.Object`
  Throws:
    `java.lang.Throwable`

### eventHappen

    public void eventHappen()

  Specified by:
    `eventHappen` in interface `ISubscriber`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD