| Modifier and Type | Method and Description |
|---|---|
protected Map<KEYTYPE,VALUETYPE> |
AbstractCache.createCache()
Create a new cache map.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
LoggingExceptionCallback.getLogMessage(Throwable t)
Get the text to be logged for a certain exception
|
protected boolean |
LoggingExceptionCallback.isLogException(Throwable t)
Check if the passed exception should be part of the log entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected EContinue |
MapBasedAttributeContainer.onBeforeRemoveAllAttributes()
Internal callback method that can be used to avoid removal of all
attributes.
|
protected EContinue |
MapBasedAttributeContainer.onBeforeRemoveAttribute(KEYTYPE aName)
Internal callback method that can be used to avoid removal of an attribute.
|
protected EContinue |
MapBasedAttributeContainer.onBeforeSetAttributeValue(KEYTYPE aName,
VALUETYPE aValue)
Internal callback method that can be used to check constraints on an
attribute name or value.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSoftMap.onEntryRemoved(K aKey)
Callback method invoked after a map entry is garbage collected
|
protected void |
LRUSet.onRemoveEldestEntry(int nSize,
ELEMENTTYPE aEldest)
Protected method that is invoked every time an element is removed from the
cache, because the maximum size is exceeded.
|
protected void |
LRUMap.onRemoveEldestEntry(int nSize,
Map.Entry<KEYTYPE,VALUETYPE> aEldest)
Protected method that is invoked every time the oldest entry is removed.
|
protected void |
SoftLinkedHashMap.onRemoveEldestEntry(int nSize,
Map.Entry<K,V> aEldest)
Protected method that is invoked every time the oldest entry is removed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicThreadFactory.initializeThread(Thread aThread)
Initializes the specified thread.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SingleError.equalsLinkedException(Throwable t1,
Throwable t2)
Overridable implementation of Throwable for the Linked exception field.
|
protected void |
SingleError.hashCodeLinkedException(HashCodeGenerator aHCG,
Throwable t)
Overridable implementation of Throwable for the Linked exception field.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractFormatterString.getValueAsString(Object aValue)
Convert the source value to a string by using the
TypeConverter. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FileSystemRecursiveIterator.recurseIntoDirectory(File aDirectory)
Override this method to manually filter the directories, which are recursed
into.
|
| Modifier and Type | Method and Description |
|---|---|
IReadableResource |
ReadableResourceProviderChain.getReadableResource(String sName) |
IWritableResource |
WritableResourceProviderChain.getWritableResource(String sName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LoggingInputStream.onMark(int nReadLimit,
long nCurrentPosition) |
protected void |
LoggingInputStream.onRead(int nBytesRead,
long nNewPosition) |
protected void |
LoggingInputStream.onReset(long nCurrentPosition) |
protected void |
LoggingInputStream.onSkip(long nBytesSkipped,
long nNewPosition) |
protected void |
LoggingOutputStream.onWrite(int nBytesWritten,
long nTotalBytesWritten) |
| Modifier and Type | Method and Description |
|---|---|
protected LogMessage |
InMemoryLogger.createLogMessage(IErrorLevel eErrorLevel,
Serializable aMsg,
Throwable t)
Override this method to create a different LogMessage object or to filter
certain log messages.
|
protected void |
InMemoryLogger.onAddLogMessage(LogMessage aLogMessage)
Callback method that is invoked after a message was added.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MutableBoolean.onAfterChange()
This method is invoked after a value changed.
|
protected void |
AbstractMutableNumeric.onAfterChange()
This method is invoked after a value changed.
|
| Modifier and Type | Method and Description |
|---|---|
protected IApplicationScope |
GlobalScope.createApplicationScope(String sApplicationID)
This method creates a new application scope.
|
protected void |
AbstractMapBasedScope.destroyOwnedScopes()
Override this method to destroy all scopes owned by this scope.
|
protected ICommonsList<String> |
RequestScope.getAttributeAsListCustom(String sName,
Object aValue,
ICommonsList<String> aDefault)
Try to convert the passed value into a
ICommonsList of
String. |
protected void |
AbstractMapBasedScope.postDestroy()
Override this method to perform further actions AFTER the scope was
destroyed.
|
protected void |
AbstractMapBasedScope.preDestroy()
Override this method to perform further actions BEFORE the scope is
destroyed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScopeTestRule.after() |
void |
ScopeTestRule.before() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSingleton.onAfterInstantiation(IScope aScope)
Called after the singleton was instantiated.
|
protected void |
AbstractSingleton.onBeforeDestroy(IScope aScopeToBeDestroyed)
Called before this singleton is destroyed.
|
protected void |
AbstractSingleton.onDestroy(IScope aScopeInDestruction)
Called when this singleton is destroyed.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
StopWatch.getCurrentNanoTime() |
| Modifier and Type | Method and Description |
|---|---|
void |
WSClientConfig.applyWSSettingsToBindingProvider(BindingProvider aBP) |
protected void |
WSClientConfig.customizeRequestContext(Map<String,Object> aRequestContext)
Add custom properties to the request context.
|
Copyright © 2014–2017 Philip Helger. All rights reserved.